I have a little problem. I have a menu ul with a height of 4% of the whole page.
I now want the font-size to follow the height of the ul. It looks like this:
The ul changes size according to the browserwindow’s size, but the text is always the same size.
The li.item font-size is set to 100% at the moment.
Thanks in advance.
There is a ‘new’ value “vh” (instead of px or em) which is a percentage of the viewport height.
This might work but it only works in latest browsers so you will need a fallback anyway.
You must be logged in to reply to this topic.