I'm unable to make the following SCSS
increase the font-size
on mobiles
and tablets
:
// Mobile
@include breakpoint(medium down) {
$global-font-size: 200%;
}
The generated CSS
files isn't even changed after adding the code above.
I'm unable to make the following SCSS
increase the font-size
on mobiles
and tablets
:
// Mobile
@include breakpoint(medium down) {
$global-font-size: 200%;
}
The generated CSS
files isn't even changed after adding the code above.
What I ended up doing is to replace
$global-font-size
withfont-size
:Unfortunately it's not possible to define a SASS variable inside a media query. See this Closed issue for a more detailed description (has Foundation as an example).
You can do a similar kind of thing like this though: