Menu

CSS did it again

1 min read January 30, 2017 at 9:07am on css and viewport

While checking for availability of display:flex on caniuse.com i stumbled upon the length units vh, vw, vmin and vmax. What a revelation!

Those are viewport dependent length values, where 100vh are 100% of the real height of the viewport. For all things mobile this makes my life so much easier...

I really should do at least once every few months a little fresh-up on what CSS actually can do.

The last time i had a moment like this was with the border-box values.