Documentation

Search value is required

Illustration Size Classes

A group of class names to change the size of an illustration SVG.

Usage


Add [namespace]-illustration[modifier] to the base [namespace]-illustration class, e.g. class="slb-illustration slb-illustration--lg"

Accessible attributes


Accessible attribute Description
aria-hidden="true" When an illustration is used for only decorative purposes add this attribute to the illustration's tag.

Modifier selectors


Modifier selector Description
slb-illustration--xs Extra small illustration with a height and width of 40px.
slb-illustration--sm Small illustration with a height and width of 64px.
slb-illustration Default illustration with a height and width of 110px.
slb-illustration--lg Large illustration with a height and width of 164px.
slb-illustration--xl Extra large illustration with a height and width of 210px.
.slb-illustration--xs - Extra small illustration size.
.slb-illustration--sm - Small illustration size.
.slb-illustration - Default size of the illustration.
.slb-illustration--lg - Large size of the illustration.
.slb-illustration--xl - Extra large size of the illustration.