#headings.style-guide__subsection
%h3= link_to_style_guide('typography', 'headings')
%p Sets up the element to be styled the same as an h1-6
, using the heading
class in combination with a heading--X
modifier, where X
is the
%p Can be used on any inline or block-level element to visually present the element as a heading. Frequently applied when, semantically speaking, using a given h1-6
tag wouldn't be appropriate.
%p In the following examples we have a variety of text-wrapping elements:
%p should style a variety of elements properly.
.style-guide__example-block
%h1 Heading 1
%span.heading.heading--1 Heading 1
%h2 Heading 2
%p.heading.heading--2 Heading 2
%h3 Heading 3
%strong.heading.heading--3 Heading 3
%h4 Heading 4
%h6.heading.heading--4 Heading 4
%h5 Heading 5
%h3.heading.heading--5 Heading 5
%h6 Heading 6
%h1.heading.heading--6 Heading 6
#heading--no-margin.style-guide__subsection
%h3= link_to_style_guide('typography', 'heading__no_margin')
%p Removes bottom margin from heading
%p should remove bottom margin:
.style-guide__example-block
%span.heading.heading--1.heading--no-margin I should have no margin