Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Fix 100vh height bug in Safari
body {
height: 100vh;
/* Avoid Chrome to see Safari hack */
@supports (-webkit-touch-callout: none) {
body {
/* The hack for Safari */
height: -webkit-fill-available;
Copy link

Okkido commented Sep 9, 2020

PostCSS plugin here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment