Make full screen sections with 1 line of CSS — Medium
mardi 28 octobre 2014 à 11:32xuv, le 28/10/2014 à 11:32
(Permalink)
L'espace... Cifiste > xuv, le 28/10/2014 à 12:28
Merc pour le partage !
Lien direct: https://medium.com/@ckor/make-full-screen-sections-with-1-line-of-css-b82227c75cbd
(Permalink)
Shazen, le 28/10/2014 à 14:11
> What if we can make it only with 1 line of CSS…
``.section { height: 100vh; }``
> Yes, viewport height, 1vh = 1% of browser’s height.
(Permalink)
(Permalink)
L'espace... Cifiste > xuv, le 28/10/2014 à 12:28
Merc pour le partage !
Lien direct: https://medium.com/@ckor/make-full-screen-sections-with-1-line-of-css-b82227c75cbd
(Permalink)
Shazen, le 28/10/2014 à 14:11
> What if we can make it only with 1 line of CSS…
``.section { height: 100vh; }``
> Yes, viewport height, 1vh = 1% of browser’s height.
(Permalink)