No notes defined.
<p class="intro">Spacing modifiers can be applied to increase or decrease visual spacing around the horizontal rule, examples below.</p>
<p class="intro">It's also possible to use the <code>margin-y-[size]</code> <a href="/components/detail/spacing" target="_top">spacing utility</a> for finer control.</p>
<p>Lipsum has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</p>
<div><strong>Regular spacing:</strong></div>
<hr class="" />
<p>Lipsum has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</p>
<div><strong>'Spaced'</strong></div>
<hr class="hr--spaced" />
<p>Lipsum has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</p>
<div><strong>'Compact'</strong></div>
<hr class="hr--compact" />
<p>Lipsum has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</p>
<p class="intro">Spacing modifiers can be applied to increase or decrease visual spacing around the horizontal rule, examples below.</p>
<p class="intro">It's also possible to use the <code>margin-y-[size]</code> <a href="/components/detail/spacing" target="_top">spacing utility</a> for finer control.</p>
<p>{{ lorem }}</p>
<div><strong>Regular spacing:</strong></div>
<hr class="" />
<p>{{ lorem }}</p>
<div><strong>'Spaced'</strong></div>
<hr class="hr--spaced" />
<p>{{ lorem }}</p>
<div><strong>'Compact'</strong></div>
<hr class="hr--compact" />
<p>{{ lorem }}</p>
hr {
position: relative;
// see base-elements in vars/_typography
}
.hr--primary {
border-top-width: 2px;
border-color: $grey-50-pc;
}
.hr--burgundy {
border-top-width: 2px;
border-color: $burgundy;
}
.hr--teal {
border-top-width: 2px;
border-color: $teal;
}
// Spacing
.hr--compact {
margin: $spacing-xl auto;
}
.hr--spaced {
margin: $spacing-5xl auto;
}
.hr--invisible {
border-color: transparent;
}