Rem in media queries works exactly like in the rest of the CSS. We usually have something like this in out code:
.class { font-size: rem(18); @include media(sm) { font-size: rem(22); } }
where media(sm) is a custom helper function for advanced media queries which translates to something like this:
media(sm)
@media screen and (min-width: 34rem) { font-size: rem(22); }
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Rem in media queries works exactly like in the rest of the CSS. We usually have something like this in out code:
where
media(sm)
is a custom helper function for advanced media queries which translates to something like this: