how could i fit the font stretch to div size with css similar to an image with a height and width? maybe something like:
.div p{
font-stretch: div(100%);
transform: div(100%);
}
I need javascript?
how could i fit the font stretch to div size with css similar to an image with a height and width? maybe something like:
.div p{
font-stretch: div(100%);
transform: div(100%);
}
I need javascript?
use clamp it is alter native for media query
font-size : clamp(10px, 25px, 50px)