Skip to content

Instantly share code, notes, and snippets.

View s-petersson's full-sized avatar

Simon Petersson s-petersson

View GitHub Profile
@cesarandreu
cesarandreu / sensible-defaults.css
Created June 2, 2018 10:04
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;