Last active
December 31, 2015 02:19
-
-
Save furzeface/7920210 to your computer and use it in GitHub Desktop.
An example of my new set of media queries. Flexible, more fluid media queries.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//=Variables | |
//=Media Queries | |
$breakpoint-tiny: 20em; | |
$breakpoint-small: 30em; | |
$breakpoint-medium: 50em; | |
$breakpoint-extra-medium: 65em; //lol | |
$breakpoint-large: 80em; | |
$breakpoint-extra-large: 100em; | |
//=Global Styles | |
html { | |
font-size: 65%; | |
@media all and (min-width: $breakpoint-tiny) { | |
font-size: 80%; | |
} | |
@media all and (min-width: $breakpoint-small) { | |
font-size: 90%; | |
} | |
@media all and (min-width: $breakpoint-medium) { | |
font-size: 100%; | |
} | |
@media all and (min-width: $breakpoint-large) { | |
font-size: 130%; | |
} | |
@media all and (min-width: $breakpoint-extra-large) { | |
font-size: 150%; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment