CSS word-spacing property

Usage

Adjusts the spacing between words. Works in much the same way as the letter-spacing property.

Values

  • normal
  • [length] - specifies the size of the gap between words. Values are relative to the default spacing and can be positive or negative

Example

Code:

p {
  word-spacing: 10px;
}

h2 {
  word-spacing: -0.5em;
}