add a generic media-query mixin
This commit is contained in:
parent
471825b973
commit
23bfe7ee4e
|
|
@ -1,3 +1,9 @@
|
||||||
|
@mixin media-query($device) {
|
||||||
|
@media screen and (max-width: $device) {
|
||||||
|
@content;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
@media screen and (min-width: $viewport-small) {
|
@media screen and (min-width: $viewport-small) {
|
||||||
html {
|
html {
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue