I have these div's on my site and they contain text which is sometimes too wide to fit the h4 elements within.
Right now I've applied these styles to this particular h4:
h4 {
font: {
family: "Nexa";
size: 3.25em;
weight: 600;
}
line-height: 135%;
letter-spacing: 0.15rem;
text-transform: uppercase;
}
I'm using the em measurement to change its' size. Is there a more appropriate measurement for this situation?
EDIT EXPLAINING HOW MY QUESTION IS NOT A DUPLICATE: Using the viewport unit of measurement will not help in my situation considering my styles are interdependent. I've tried it to confirm.
