Do you even use CSS floats these days š¤ Nikita Hlopov on February 20, 2020 I was wondering if anyone is still using CSS float property today? If so what's the reason or possible application for that?
Almost always the answer for me is no. However, there is a rare time where a client really wants that text to wrap around an image and a float is probably the best way to go.
Iād never use them for anything else now that we have flexbox and grid
Nope. It's been a while since I used it the last time. But I am sure that there is still an use case for it.
I think it's used mostly in text editors (WYSIWYG) to arrange imaages inside block of text. In other parts flex and grid is the way to go