1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2024-11-24 11:52:34 +01:00
BookStack/resources/sass/_mixins.scss

11 lines
309 B
SCSS
Raw Normal View History

2015-07-12 21:01:42 +02:00
// Responsive breakpoint control
@mixin smaller-than($size) {
@media screen and (max-width: $size) { @content; }
}
@mixin larger-than($size) {
@media screen and (min-width: $size) { @content; }
}
@mixin between($min, $max) {
@media screen and (min-width: $min) and (max-width: $max) { @content; }
}