Today I had to have a look at a site I created in the early ‘00s (yes, amazingly...

@michael@thms.uk

Today I had to have a look at a site I created in the early ‘00s (yes, amazingly still live, and largely unchanged too, except I added some mobile design on top at some stage).

It's amazing how much CSS has moved on since: On that site I had used display: inline-block; float: left; to get a multi-column layout. What a pain that was: calculating exactly the width. hoping you don't end up with different heights. nightmare …

It did end up with different heights on one of the elements due to reason, and so was all wonky.

Display flex, custom properties, calc - The kids do have it good today!