CSS font-size increment - proportional?
Posted
by George
on Stack Overflow
See other posts from Stack Overflow
or by George
Published on 2010-05-20T21:56:04Z
Indexed on
2010/05/20
22:00 UTC
Read the original article
Hit count: 313
css
Hello. I have several elements with already set fonts - like
<div style="font-size: 10px">
some text
</div>
<div style="font-size: 20p">
some text
</div>
I want to increment the font size proprtionally, eg
<div style="font-size: 15px">
..........................
<div style="font-size: 30px">
is that possible? div {font-size: whatever} simply overwrites the values
© Stack Overflow or respective owner