Answer the question
In order to leave comments, you need to log in
Scss, how does it work?
I need to be able to adjust all fonts and their sizes from
one
place
Answer the question
In order to leave comments, you need to log in
It is already more convenient to do this through css variables, because they can be overridden in media directly.
:root {
--fz-h1: 33px;
}
@media(max-width: 991px) {
:root {
--fz-h1: 25px;
}
}
h1 {
font-size: var(--fz-h1)
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question