DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’»

DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’» is a community of 966,904 amazing developers

We're a place where coders share, stay up-to-date and grow their careers.

Create account Log in

Discussion on: Stop Using Float in CSS - Here Are Your Alternatives

Collapse
 
chakudi profile image
Vaishali JS

The alternatives like flexbox and grid are great and we should use them for layouts.

But don't stop using floats. Floats are still good choice for their original purpuse, ie. Floating text around figures.

πŸ‘

Collapse
 
shahednasser profile image
Shahed Nasser Author

Even if in certain use cases it wouldn’t really be problematic I still think we should move past it. Especially for beginners that still rely on it. It’s more important for them to learn about Flexbox and Grids and use them.

Collapse
 
blackjyn profile image
ZVHR El Ekhsaan

Logic error: Flexbox and Grids are never meant to be float replacement whatsoever