<p>This text shows the spacing between words.</p>
p {
    word-spacing: /* value */
}
CSS Live Demo Click the demo button below!
<div>
    <button>Inline Element</button>
    <button>Inline Element</button> <!-- A space is created when this element is
                                         placed on a new line. -->
</div>
div {
    word-spacing: /* value */
}
CSS Live Demo Click the demo button below!
selector {
    word-spacing: /* value */
}
/* Keyword value */
word-spacing: normal;

/* <length> values */
word-spacing: 0; /* Same as normal */
word-spacing: 2px;
word-spacing: -2px;
word-spacing: 1em;
word-spacing: -0.15em;
word-spacing: 1rem;
word-spacing: -0.11rem;

/* Percentage (%) values: Supported only in some browsers */
word-spacing: -50%;
word-spacing: 200%;

/* Global values */
word-spacing: inherit;
word-spacing: initial;
word-spacing: revert;
word-spacing: revert-layer;
word-spacing: unset;
Spacing Set Too Narrow
Spacing Set Too Wide

Last updated:

See more details on caniuse.com.