Text is over the box

Please look at my pen at https://codepen.io/bradrar1/pen/mLwWeP

as you can see, the word randommmmmmmmmmmmmmmmmmmm just bypass the box.

what is the problem and how can I contain the text in the box?

It’s because it’s all one word an the page doesn’t know how you want to handle it. It assumes you want all the word in one piece. You can tell it to break it up where needed with:

p {
  overflow-wrap: break-word;

Thank you for answering my stupid question

Not a stupid question - we’ve all been there.

1 Like