S
S
Shakhrom Mukumov2018-11-03 16:54:09
css
Shakhrom Mukumov, 2018-11-03 16:54:09

How to make text wrapping work?

It’s even somehow embarrassing for me to ask such questions, but I’m a little shocked.
Bootstrap 4, regular h1 tag? the following styles are assigned:
display: block
padding: 0
line-height: 1
font-size: 78px
text-transform: uppercase
font-weight: bold
On small screens, text doesn't wrap to the next line WTF?
I tried to use white-space, it did not help, I know that you can use media queries, but damn, the text should be wrapped, right?!
First time I've come across something like this.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
netrox, 2018-11-03
@leon9208

word-wrap: break-word;

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question