The spaces between buildings
A walking route through narrow passages and open courtyards.
Reference / Typography
Control the distance between baselines. Tight leading brings a multiline heading together while relaxed leading opens up a paragraph.
A walking route through narrow passages and open courtyards.
A unitless line height scales with the font size. Numeric spacing tokens such as leading-6 set a fixed length.
<article class="max-w-xs">
<h3 class="text-2xl leading-tight">The spaces between buildings</h3>
<p class="mt-2 leading-relaxed">A walking route through narrow passages and open courtyards.</p>
</article>| Class | CSS declarations |
|---|---|
leading-none | line-height: 1; |
leading-tight | line-height: 1.25; |
leading-normal | line-height: 1.5; |
leading-relaxed | line-height: 1.625; |
leading-6 | line-height: 1.5rem; |
leading-[1.45] | line-height: 1.45; |
.leading-6 {
line-height: 1.5rem;
}
.leading-\[1\.45\] {
line-height: 1.45;
}
.leading-none {
line-height: 1;
}
.leading-normal {
line-height: 1.5;
}
.leading-relaxed {
line-height: 1.625;
}
.leading-tight {
line-height: 1.25;
}