Last active
August 30, 2017 17:24
-
-
Save edwardgalligan/048daa2dfc143d54a972a4fddd1e3e9c to your computer and use it in GitHub Desktop.
CSS Reset to make things behave kinda similar to ReactNative
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
html, body, body :not(script) { | |
display: flex; | |
flex-direction: column; | |
box-sizing: border-box; | |
margin: 0; | |
padding: 0; | |
} | |
html { | |
height: 100%; | |
} | |
body { | |
flex: 1; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment