The word-break property in CSS can be used to change when line breaks should occur. Typically, line breaks in text can occur only in certain spaces, for example, when there is a space or a hyphen. But using word-break: break-all
, we can redefine this.
URL- .
div {
width: 200px;
background: pink;
}
p {word-break: break-all; }
<div>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum venenatis, justo quis mollis volutpat, nibh enim. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum venenatis, justo quis mollis volutpat, nibh enim</p>
</div>
Hide resultjQuery ""
, , , https://github.com/bramstein/hypher, , , , ( ), , .