Created
October 23, 2012 03:20
-
-
Save grayghostvisuals/3936447 to your computer and use it in GitHub Desktop.
Handy mixin for Sass that helps to ease the pain of writing media queries
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
_mixin.scss | |
@mixin respond($media-type, $value) { | |
@media ($media-type: $value) { | |
@content | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment