Is there a way to make a div or span within another div act as text, causing overflow to shift to the next line?
I'm unsure of which CSS properties would achieve this effect.
I've attempted using
overflow-wrap: break-word;
word-break: break-all;
Here is my current structure:
<div class="parent">
<span> Some text before </span>
<span class="makeItOverflow"> <div>Loooong text ...</div> </span>
<span> Some text after </span>
</div>
I am hoping for an outcome similar to this image: https://ibb.co/P1XcMh7.