letter-spacing

Introduction

The letter-spacing CSS property sets the horizontal spacing behavior between text characters.

Examples

Syntax

/* <length> values */
letter-spacing: 0.3em;
letter-spacing: 3px;
letter-spacing: 0.3px;

Values

  • <length> Specifies extra inter-character space in addition to the default space between characters.

Formal definition

Initial valueempty value
Applies totext
Inheritedyes
Animatableno

Formal syntax

<length>

Difference with Web

  • Only support <length>.

Compatibility

LCD tables only load in the browser

Except as otherwise noted, this work is licensed under a Creative Commons Attribution 4.0 International License, and code samples are licensed under the Apache License 2.0.