Skip to content

Instantly share code, notes, and snippets.

@prenaux
Forked from cesarandreu/sensible-defaults.css
Created June 2, 2018 12:15
Show Gist options
  • Select an option

  • Save prenaux/d5bc3359ce3d4ca85ea46aadba37254a to your computer and use it in GitHub Desktop.

Select an option

Save prenaux/d5bc3359ce3d4ca85ea46aadba37254a 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