Hi!
Is it possible to use the Responsive add-on to set rules based on the total screen size?
I am using rules such as:
.label-regular-responsive {
&[width-range=“1px-1000px”]
{
font-size: 45px;
text-align: center;
}
&[width-range=“1001px-2500px”]
{
font-size: 16px;
text-align: center;
}
}
By using these rules, if I add that style to a label with setResponsive(true), it will change according to its container size (for instance, the label may be contained within a responsive layout that takes 1/3 of the screen)
So, is it possible to change the font-size or any other rule based on total screen size instead of container size?
Thanks!