html - Scale text with web page -


consider page text "foo". text take width possible or 30% of height. don't want text stretched , don't want js.

setting font-size 30vmin not satisfying, since doesn't care width.

if assume fixed aspect ratio, possible svg/viewport, able use different texts, "foo" , "foobar", without having change anything.

this manageable images or svg shapes, can't text.


Comments

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

android - Keyboard hides my half of edit-text and button below it even in scroll view -

css - Make div keyboard-scrollable in jQuery Mobile? -