

We will define styling for the element, where along with width, margin, and other properties, we will define the overflow-wrap.We will use external CSS for this example, hence we will create a CSS file first.It will not break long words even if it’s crossing the boundary. When we make use of the normal parameter, the sentences or string breaks only at allowable intervals like comma separation or full stops or space between words.Example #1 – Demonstrating the Normal Feature of Overflow-Wrap Let’s have a look at some of the uses of the overflow-wrap property. This property can be put to good use if we have multiple containers a page. In case if we are using word-break, otherwise unbreakable words will break to fit the container. Syntax: overflow-wrap: normal| break-word Examples of CSS Word Wrapįor the property overflow-wrap, if we use the parameter value as normal, then, it will cause the string of words to break at a normal point of separation, like a full stop or space or comma separator.
