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