Is there a way to specify the font size for a class to be, say, 70% of the inherited font size?
I have a general "button" class that sets up my buttons with the appropriate borders, background, etc. I use it in multiple places, including one where the font size is fairly small and another where the font size is quite large.
<div style="font-size: 26px;">
Push this: <input class="button" type="submit" value="Go">
</div>
<div style="font-size: 10px;">
Push this too: <input class="button" type="submit" value="Go">
</div>
In both instances I'd like the button font-size to be about 70% of the font size of the span or div the button is in.
Can I do this with pure CSS?