text spacing code example
Example 1: letter spacing css
div{
letter-spacing: 2px;
}
Example 2: kerning css
// There is no kerning property, but you can use letter-spacing
div{
letter-spacing: 2px;
}
Example 3: letter spacing css
.some-class {
letter-spacing: 3px;
}
Example 4: how to create space inbetween text css
<div style="letter-spacing: 1em;">It's a wide wide word!</div>
<div style="line-height: 1.5;">
<div style="text-indent: 50px;">
Example 5: adjust text spacing css
pre {
line-height: 20px;
}