DEV Community


Discussion on: Explaining CSS float

alohci profile image
Nicholas Stimpson

How do you use Grid or Flexbox to make a block that text will wrap around as depicted in this article?

danspratling profile image
Dan Spratling

You can't, but inline-block does I believe. This is often the default style for wysiwyg elements which you often want to undo.

There are use cases for float, but they’re rare. Doesn’t mean it’s not useful to know.