Post
Haz
haz.dev
did:plc:eaimln3uk5ntgmykcbxrmsyp
If you're a nerd like me, you'll love this 🤓
Stop centering icons with align-items: center.
Here's how to build a flexible box that perfectly aligns icons, text, and the box itself at any size, using CSS and a little math.
2026-11-24T22:29:53.347Z