Hands up for anyone else who remembers how much worse this was in the CSS 2.1 days when it had to be hacked using `display: inline-block` and tricks involving negative margins.
All those dirty hacks you needed to do to make stuff work make me so thankful for today's wonderful CSS, even when it frustrates me.
¹ a real-life lesson in monopolism: IE6 was around for over 14 years!
Only wish "gap" property would be adopted easier to make working collapsing flex rows way easier.
Even the basic things like :last-child selector is good quality-of-life improvement.
*:after { visibility: hidden; display: block; font-size: 0; content: " "; clear: both; height: 0; }