Hi all,
I have a responsive text headline set as follows:
calc( 30px + (90 - 30) * (100vw - 320px) / (1500 - 320))
While this works great for large viewports, the text line-height
needs a little tweaking for viewports of 767px and below.
I tried adding a class moblineheight
to the headline element as follows:
@media (max-width: 767px) {
.moblineheight {
line-height: 1.1 !important;
}
}
But that didn’t work. Could someone please point me in the right direction?
Thanks in advance.