Answer the question
In order to leave comments, you need to log in
How to shrink multiline text using something like zoom?
The essence of the task is to make a rubber page, which, when the screen is reduced, will decrease just as smoothly as it is in the default size. This page is multilingual and compared to Russian or English text, German is just huge.
The essence of the problem is that I have a block with fixed sizes in percent, let6%
from the height and30%
from the width. This block contains a text container, let's say<p></p>
. This container contains multiline text that fills the entire container. When you change the language, the text is translated in real time and becomes longer in the German translation.
The question is how to make the text shrink at the expense ofzoom
orfont-size
or some other setting? It is also worth considering that the text should not be separated using <br/>
Used already
Answer the question
In order to leave comments, you need to log in
Remove the meta tag:
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question