Skip to content

Instantly share code, notes, and snippets.

@cdock1029
Forked from cesarandreu/sensible-defaults.css
Created June 2, 2018 12:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cdock1029/f55e05316151f385086c31362d0b6d92 to your computer and use it in GitHub Desktop.
Save cdock1029/f55e05316151f385086c31362d0b6d92 to your computer and use it in GitHub Desktop.
Sensible css defaults taken from css-layout
div, span {
box-sizing: border-box;
position: relative;
display: flex;
flex-direction: column;
align-items: stretch;
flex-shrink: 0;
align-content: flex-start;
border: 0 solid black;
margin: 0;
padding: 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment