Created
December 8, 2014 12:35
-
-
Save tomvdv/7bd774c4763c6f69c40e to your computer and use it in GitHub Desktop.
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
@mixin mq($point) { | |
@if $point == xsmall-up { | |
@media (min-width: 420px) { @content; } | |
} | |
@else if $point == small-up { | |
@media (min-width: 768px) { @content; } | |
} | |
@else if $point == medium-up { | |
@media (min-width: 1024px) { @content; } | |
} | |
@else if $point == large-up { | |
@media (min-width: 1200px) { @content; } | |
} | |
@else if $point == xlarge-up { | |
@media (min-width: 1441px) { @content; } | |
} | |
@else if $point == xxlarge-up { | |
@media (min-width: 1600px) { @content; } | |
} | |
} | |
%clearfix { | |
&:after { | |
content: " "; | |
display: block; | |
clear: both; | |
} | |
} | |
%visuallyhidden { | |
border: 0; | |
clip: rect(0 0 0 0); | |
height: 1px; | |
margin: -1px; | |
overflow: hidden; | |
padding: 0; | |
position: absolute; | |
width: 1px; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
e.g.