12 Modern CSS One-Line Upgrades

Even us old guys that have been working in CSS since the start… Scratch that. Especially us old guys that have been working in CSS since the start, we all need to read through this quick article and see some of the newer things in CSS that can make your code better.

I’ve been using aspect-ratio and margin-inline quite a bit over the last year on projects. I show my age, but so many things that we can now do easily in CSS— vertical centering…— used to take way too much code. Layout through grid and flexbox compared to old school floats is a marvel.

Go read Stephanie Eckles piece.

Other posts you may enjoy!