Re:Descartes – An experimental library for writing CSS in Ja...
by juandazapata on Sunday February 21, 2016 @08:36AM
(#11144431)
To set an element height to the full viewport height, you can use `height: 100vh`. That unit is available since 2011. Please do your homework.
[ Parent
| on HN ]
Re:Descartes – An experimental library for writing CSS in Ja...
by prezjordan on Sunday February 21, 2016 @09:47AM
(#11144683)
No need to be pedantic, onion2k's original point that you can use values from the browser is spot-on. If you've ever tried to interact with CSS transitions/animations with JavaScript you'll find rather quickly that doing the entire thing in JS is the only reasonable approach.