I've been searching for an example of using css white-space: break-spaces
for hours with no luck. Most tutorials only cover examples for normal, nowrap, pre, pre-wrap, pre-line. When it comes to break-spaces, the information available is limited to quotes like the one below from mozilla
The behavior is identical to that of pre-wrap, except that:
- Any sequence of preserved white space always takes up space, including at the end of the line.
- A line breaking opportunity exists after every preserved white space character, including between white space characters.
- Such preserved spaces take up space and do not hang, and thus affect the box’s intrinsic sizes (min-content size and max-content size).
Can someone provide me with examples to illustrate the differences between break-spaces and pre-wrap?