-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: use more specific media queries
- Loading branch information
Showing
2 changed files
with
21 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
@mixin min($device-size) { | ||
@media screen and (min-width: $device-size) { | ||
@content; | ||
} | ||
} | ||
|
||
@mixin max($device-size) { | ||
@media screen and (max-width: ($device-size - 0.1)) { | ||
@content; | ||
} | ||
} | ||
|
||
@mixin between($min-size, $max-size) { | ||
@media screen and (min-width: $min-size) and (max-width: ($max-size - 0.1)) { | ||
@content; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters