https://www.w3schools.com/howto/tryit.asp?filename=tryhow_css_dropdown_navbar
Why when overflow:hidden
is added in .navbar
it works and without it the left side is white and the text is on the right side? Also, how and what is the purpose of applying overflow
here when this is what I read about the attribute:
Note: The overflow property only works for block elements with a specified height.