public-health-ch/publichealth/static/css/modules/_mixins.scss

15 lines
240 B
SCSS
Raw Normal View History

2017-02-06 13:35:58 +00:00
// max-screen
@mixin max-screen($max) {
@media only screen and (max-width: $max) {
@content;
}
}
2017-05-05 14:57:28 +00:00
// mid-screen
@mixin mid-screen($min, $max) {
@media only screen and (min-width: $min) and (max-width: $max) {
@content;
}
}