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.
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.
0 views
Published on 24/11/2026 22:29
1:35
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.
1 comment
?
beautiful clip!
Thanks 🫶🏼