Commit c6a69e09 authored by mrmrs's avatar mrmrs Committed by Mark Otto
Browse files

Add partial for media query mixins.

parent 92e81718
Showing with 26 additions and 0 deletions
+26 -0
// Media query mixins
.screen-xs(@rules) {
@media (max-width: @screen-xs-max) { @rules(); }
}
.screen-sm(@rules) {
@media (min-width: @screen-sm-min) { @rules(); }
}
.screen-sm-max(@rules) {
@media (min-width: @screen-sm-min) and (max-width: @screen-sm-max) { @rules(); }
}
.screen-md(@rules) {
@media (min-width: @screen-md-min) { @rules(); }
}
.screen-md-max(@rules) {
@media (min-width: @screen-md-min) and (max-width: @screen-md-max) { @rules(); }
}
.screen-lg(@rules) {
@media (min-width: @screen-lg-min) { @rules(); }
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment