Clearing CSS Float of Its Bad Reputation

Once upon a time, we didn’t have much of a choice but to use float to create our layouts. It developed a bad reputation because of being misused from lack of other options. In many cases we now use Flex and Grid for many of our layouts, but float has some new tricks up its sleeve! With some new CSS features, it is much easier and a lot more fun to use than it once was. Let’s take a look at what happens when we combine some new and old techniques for some really cool effects.

In this talk we will:

  • Compare old and new techniques to handle misbehaving floats
  • How to create drop caps
  • Wrapping text around CSS shape

Previously given at

  • Code PaLOUsa (2022)

Want me to speak at your event? Drop me a line!

Contact Me

Slides