mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-12-02 13:58:57 +08:00
11 lines
309 B
SCSS
11 lines
309 B
SCSS
// 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; }
|
|
}
|