Created
February 3, 2015 18:13
-
-
Save eljamez/788ecf014900ef25b0e9 to your computer and use it in GitHub Desktop.
Breakpoint Mixins for SCSS for easy setup.
This file contains 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
// 1120px | |
@mixin bp-xlarge {@media only screen and (min-width: 80em) {@content;}} | |
// 960px | |
@mixin bp-large {@media only screen and (min-width: 64em) {@content;}} | |
// 640px | |
@mixin bp-medium {@media only screen and (min-width: 40em) {@content;}} | |
// 480px | |
@mixin bp-small {@media only screen and (min-width: 30em) {@content;}} | |
// special for header (840px) | |
@mixin bp-header {@media only screen and (min-width: 53em){@content;}} | |
// special for talbet specific | |
@mixin bp-tablet {@media only screen and (min-width: 766px){@content;}} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment