There are 2 types of heading:
-
.title
-
.subtitle
--- title: Title and Subtitle layout: documentation doc-tab: elements doc-subtab: title variables: - name: $title-color value: $grey-darker - name: $title-size value: $size-3 - name: $title-weight value: $weight-semibold - name: $title-strong-color value: inherit - name: $title-strong-weight value: inherit - name: $subtitle-color value: $grey-dark - name: $subtitle-size value: $size-5 - name: $subtitle-weight value: $weight-normal - name: $subtitle-strong-color value: $grey-darker - name: $subtitle-strong-weight value: $weight-semibold --- {% capture default %}
Title 1
Subtitle 3
Title 2
Subtitle 4
Title 3
Subtitle 5
{% endcapture %} {% capture spaced %}Title 1
Subtitle 3
Title 2
Subtitle 4
Title 3
Subtitle 5
{% endcapture %} {% include subnav-elements.html %}There are 2 types of heading:
.title
.subtitle
Title
Subtitle
There are 6 sizes available:
Title 1
Title 2
Title 3 (default size)
Title 4
Title 5
Title 6
Subtitle 1
Subtitle 2
Subtitle 3
Subtitle 4
Subtitle 5 (default size)
Subtitle 6
When you combine a title and a subtitle, they move closer together.
As a rule of thumb, it is recommended to use a size difference of two. So if you use a title is-1
, combine it with a subtitle is-3
.
Title 1
Subtitle 3
Title 2
Subtitle 4
Title 3
Subtitle 5
New!
You can maintain the normal spacing between titles and subtitles if you use the is-spaced
modifier on the first element.
Title 1
Subtitle 3
Title 2
Subtitle 4
Title 3
Subtitle 5