Page 1 of 1
How do I change the "font-size" text to breakpoints
Posted: Mon Mar 12, 2018 8:40 am
by spoon
Hello Pablo, tell me, in the Extension Builder text I put font-size, but this font-size does not react to BREAKPOINT in the WWB program, that is, the text size is the same for all breakpoints.
How can I change the font-size on each breakpoint?
Re: How do I change the "font-size" text to breakpoints
Posted: Mon Mar 12, 2018 9:43 am
by Pablo
See '$BREAKPOINT$ ' in the documentation of Extension Builder.
Re: How do I change the "font-size" text to breakpoints
Posted: Mon Mar 12, 2018 10:27 am
by spoon
I already use $BREAKPOINT$ but the size of the text on breakpoints does not change. If I change the font-size to breakpoint, then both default and other breakpoints also change.
Code: Select all
h3{
font-size: $font$px;
color: $color$;
}
@media $BREAKPOINT$ {
h3{
font-size: $font$px;
}
}
Пример
Re: How do I change the "font-size" text to breakpoints
Posted: Mon Mar 12, 2018 11:05 am
by Pablo
I'm sorry, custom properties are not responsive.
This only works for built-in variables like $WIDTH$, $LEFT$ etc
Re: How do I change the "font-size" text to breakpoints
Posted: Mon Mar 12, 2018 11:46 am
by spoon
Adaptive font-size not do?
Re: How do I change the "font-size" text to breakpoints
Posted: Mon Mar 12, 2018 11:55 am
by Pablo
The software does not have any knowledge about your extension or code, so it cannot automatically generated responsive code for it.
Re: How do I change the "font-size" text to breakpoints
Posted: Mon Mar 12, 2018 11:58 am
by spoon
Maybe in the new version there will be such an opportunity. Thanks Pablo