Used floats and clearfixes for 3 years until a CodePen from a random guy in Austin showed me flexbox does it in 4 lines | CSS Battle Tactics - The Design Community Hub
Used floats and clearfixes for 3 years until a CodePen from a random guy in Austin showed me flexbox does it in 4 lines
I was writing a 40 line clearfix every single time I wanted two divs side by side, and he just had display flex with a gap and I felt like a total fool. What was the one property that made you question everything you thought you knew about CSS?