Answer the question
In order to leave comments, you need to log in
Is it possible to set the font size in %?
Good afternoon.
Is it possible to set the font size other than in px?
So that it itself changes depending on the height of the block.
Answer the question
In order to leave comments, you need to log in
https://www.w3schools.com/cssref/pr_font_font-size.asp
You can. But it will change from "basic".
Is it possible to set the font size other than in px?
Developing the idea Maxim Timofeev
Set a block of fixed proportions and set the font size to vh.
https://codepen.io/kutliev/pen/mxEYPQ
But it really works so-so.
When you change the height is normal, when you change the width everything floats.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question