Skip to content

Instantly share code, notes, and snippets.

@wintercounter
Last active February 28, 2020 13:24
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 wintercounter/5e3f4915c714022a8dd048f55b48908d to your computer and use it in GitHub Desktop.
Save wintercounter/5e3f4915c714022a8dd048f55b48908d to your computer and use it in GitHub Desktop.
Some extra reset on top of your reset/normlizer you already using to make block elements flex by default
/* @see https://developers.google.com/web/updates/2013/10/Flexbox-layout-isn-t-slow */
div, article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
display: flex;
flex-direction: column;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment