add a generic media-query mixin

This commit is contained in:
monkeywithacupcake 2018-01-06 08:52:53 +09:00 committed by GitHub
parent 471825b973
commit 23bfe7ee4e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,3 +1,9 @@
@mixin media-query($device) {
@media screen and (max-width: $device) {
@content;
}
}
@media screen and (min-width: $viewport-small) {
html {
font-size: 16px;