Last active
August 29, 2015 14:06
-
-
Save eightdotthree/3381d53dbb9364be7432 to your computer and use it in GitHub Desktop.
SASS mixin for bootstrap 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
@mixin bootstrap_mq($point) { | |
@if $point == xs { | |
@media (min-width: $screen-xs-min) { @content } | |
} | |
@if $point == sm { | |
@media (min-width: $screen-sm-min) { @content } | |
} | |
@if $point == md { | |
@media (min-width: $screen-md-min) { @content } | |
} | |
@if $point == lg { | |
@media (min-width: $screen-lg-min) { @content } | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment