Set a default line height for your entire project

Learn how you can use different units for line height to make it scale automatically with the font size, or be independent of the font size.

The UI in this lesson may seem different if you've enables the Style Panel Beta! This content will be updated soon!
 
This video features an old UI. Updated version coming soon!
This video features an old UI. Updated version coming soon!

To set the default line height for the entire project you’ll need to set the line height on the Body (All Pages) tag. The style will cascade down to all text in the project, unless there are more specific styles set on an element.

Setting line height on a single text element

Changing the line height on a text element will only affect its text content. It overrides the styles that are coming from the element’s tag or the Body (All Pages) tag.

Resources

Browser support

Can I Use ? Data on support for the feature across the major browsers from caniuse.com.