Simplified media queries
- Switched to pixel based values again to fix error - Future version should use em values again
This commit is contained in:
parent
0214054c81
commit
bf818600f8
1 changed files with 2 additions and 2 deletions
|
@ -33,10 +33,10 @@
|
|||
@mixin goingLarge($width) {
|
||||
// @media (min-width: $width/16+em) { @content; }
|
||||
// @media (min-width: (math.div($width, 16)+em)) { @content; }
|
||||
@media (min-width: (math.div($width, 16))) { @content; }
|
||||
@media (min-width: ($width)) { @content; }
|
||||
}
|
||||
|
||||
//Desktop-first Media Query
|
||||
@mixin goingSmall($width) {
|
||||
@media (max-width: (math.div($width, 16)+em)) { @content; }
|
||||
@media (max-width: ($width)) { @content; }
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue