« * K @haz.dev

Haz @haz.dev

2026-11-24 22:29 UTC

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.

162 likes, 11 reposts, 8 replies

3 Next post4 More from @haz.devBackBluesky home
☆ Save to home · 0 Home · Find · Games · Chat · AI · Setup