HTML:
<span> text </span>
CSS:
span{
width: 200px;
height: 200px;
display: inline-block;
}
I would like to make text fit the size of the span. So if the span is 200x200, font should have like 72px height. If it's smaller, font-size should me smaller. Is this possible?
Setting a font size in percentages doesn't seem to have any effect.