Skip to content

Commit 23bfe7e

Browse files
add a generic media-query mixin
1 parent 471825b commit 23bfe7e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

_sass/_media-queries.scss

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
@mixin media-query($device) {
2+
@media screen and (max-width: $device) {
3+
@content;
4+
}
5+
}
6+
17
@media screen and (min-width: $viewport-small) {
28
html {
39
font-size: 16px;

0 commit comments

Comments
 (0)