News Score: Score the News, Sort the News, Rewrite the Headlines

Vertical-Align: All You Need To Know (CSS)

We need to talk about this! Yep, let’s talk about the CSS property vertical-align. It’s intended use is to align text and elements next to each other. Like centering an icon next to a bit of text. But, it can be a real scumbag sometimes with all its seemingly mysterious rules at work. For example, it might happen, that the element you changed vertical-align for doesn’t change its alignment at all, but other elements next to it do! What a joy! So, to minimize future pain, I waded through W3C’s CS...

Read more at christopheraue.net

© News Score  score the news, sort the news, rewrite the headlines