Letter spacing

Syntax

Class
Properties
letter-spacing-{value}
letter-spacing: {value};
letter-spacing-normal
letter-spacing: normal;

Parameters

value
<length default-unit=0.1px>
<div class="t1 w-256 p-16 bg-c-white shadow-4 letter-spacing-0"> Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam sit amet ullamcorper neque. Donec placerat mi ut enim porttitor sagittis. </div>

Specification test cases

The test cases below are imported from the Turbo CSS specification. They have been executed upon loading this page.
Letter spacing as number
t1 letter-spacing-10
.t1.letter-spacing-10 { letter-spacing: 1px; }
Letter spacing as length
t1 letter-spacing-0.5px
.t1.letter-spacing-0\.5px { letter-spacing: 0.5px; }
Set letter spacing to normal.
t1 letter-spacing-normal
.t1.letter-spacing-normal { letter-spacing: normal; }