Skip to content

Instantly share code, notes, and snippets.

@edwardgalligan
Last active August 30, 2017 17:24
Show Gist options
  • Save edwardgalligan/048daa2dfc143d54a972a4fddd1e3e9c to your computer and use it in GitHub Desktop.
Save edwardgalligan/048daa2dfc143d54a972a4fddd1e3e9c to your computer and use it in GitHub Desktop.
CSS Reset to make things behave kinda similar to ReactNative
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