Layout
Section
The highest level block element on the page, direct child of the page element.
Elements
The component is composed of multiple elements:
section
the wrappersection__container
a second wrapper, used for responsive stylingsection__header
the header elementsection__label
optional caption element (text style is automated)section__title
the title element (text style is automated)section__subitle
optional subtitle (text style is automated)
section__content
some content (section can have multiple instances of that element)
Section label
Section title
Optional section subtitle
Here you can add whatever you want
And duplicate the element at will
Properties
Add classes to the wrapper class to change the style of the component.
Alignement
Changes the alignement of the section.
class="section"
Default
Align left
Align all content and text to the left
class="section section--center"
Align center
Align all content and text to the center
class="section section--right"
Align right
Align all content and text to the right
Fill
Changes the fill color of the section.
class="section section--default"
Default
Background default
Use the $background-default variable as background color
class="section section--paper"
Background paper
Use the $background-paper variable as background color
class="section section--primary"
Background primary
Use the $background-primary variable as background color
class="section section--primaryLight"
Background primary-light
Use the $primary-light variable as background color
Landing
Add the modifier class section--landing
to automatically style the header for the website title on the homepage.
class="section section--landing"
Section landing
Optional section subtitle
Landing
Add the modifier class section--header
to automatically style the header for the page title (first section of the page).
class="section section--header"
Section header
Optional section subtitle