How to reduce text content instead of squeezing the text ?
If you look at this text part, this text content get reduced when width is reduced instead of squeezing the text. How can I do that ?
I'm working on a React Application.
10 Replies
Monkeytype | A minimalistic, customizable typing test
The most customizable typing test website with a minimal design and a ton of features. Test yourself in various modes, track your progress and improve your speed.
overflow: hidden;
with the height set to a whole multiple of the line height
if you look at the source, it's set as an inline style on the div:
but content is not hidden when you start typing making width small those content are not hidden
I don't know what you mean
example on desktop width there is 50 words on that div but when i reduce the width there is 40 words
yes, the rest is hidden
by the overflow
okay then, I will set height and make it overflow
when you type text the reamning text is popped up how can i do that ?
that's probably a lot of javascript