Skip to content

Instantly share code, notes, and snippets.

@suissa
Created August 15, 2014 04:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save suissa/69c4e1bd6fbe30858dc1 to your computer and use it in GitHub Desktop.
Save suissa/69c4e1bd6fbe30858dc1 to your computer and use it in GitHub Desktop.
Breakpoints for media query with EM
// Breakpoints
// Base: 16px
// Small: 688px - 43em
// Tablets: 768px - 48em
// Desktop: 1024px - 64em
// Large Screen 1: 1440px - 90em
// Large Screen 2: 1600px - 100em
@suissa
Copy link
Author

suissa commented Aug 15, 2014

html { font-size: 62.5%; }
body { font-size: 16px; font-size: 1.6rem; }
Aí, por exemplo: h1 { font-size: 32px; font-size: 3.2rem; }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment