05. Font Spacing leading, kerning

Now let's take a look into the technicalities of line height and spacing.

Leading

Leading is the height of lines of an element. It is specified by the line-height property. This value is measured between the descender (lowest point) and the ascender (highest point). The value is relative to the normal font size, so a value of 2 would be 2 times the normal font size.

Note that the vertical space between lines should be larger than the space between each word; this helps the eye move along the line instead of down them.

It's often good practice to use em units so that the gap between lines is relative to the size of text the user has selected. 1.4 to 1.5em are good starting values.

Kerning

Kerning is the space between each letter. This is controlled by the letter-spacing property.

Make sure to increase kerning if text is all in uppercase. The gap between the words is controlled with the word-spacing property. Just like leading, it's good practice to use ems for your units.

Aching back from coding all day?

Inversion Therapy Table

Aching back from coding all day? Try Back Problems

Stretch out your back and relieve your back muscles with inversion therapy. This device counteracts the forces of gravity on the body by decompressing and elongating the spine. By using this product just ten minutes a day, you can be well on your way to improved circulation and posture while relieving muscle aches, back pain and stress.

$$ Check price
119.98119.98Amazon 4.5 logo(1,700+ reviews)

More Back Problems resources

Build modern and responsive webpages

Responsive Typography

Build modern and responsive webpages Try Front-end

Responsive web design helps your site maintain its design integrity on a variety of screen sizes, but how does it affect your typography? With this practical book, graphic designers, web designers, and front-end developers alike will learn the nuts and bolts of how to get the best appearance from type without sacrificing performance on any device.

$ Check price
24.9924.99Amazon 4.5 logo(3+ reviews)

More Front-end resources

Ad