DEV Community

Discussion on: Creating Navbar Using CSS

fcalderan profile image
Fabrizio Calderan

Imho float is not as easy as flexbox because with floats you are in fact removing elements from the static flow of the page and their container (the list) behaves like is empty, unless you apply a clearing technique.

A beginner is not probably aware of this issue so they could likely experience an unexpected behaviour.

Thread Thread
hrushikesh41 profile image
Hrushikesh41 Author

Thank You for your help