Variables
Property Prefixes
Custom Variables to extend properties
Align Content
Align Items
Align Self
Variables
Color Classes
Prefix | Color | Shade | Background Class | Text Class |
---|---|---|---|---|
bg | text | primary | secondary | tertiary | 100 | bg-primary-100 | text-primary-100 |
bg | text | primary | secondary | tertiary | 200 | bg-primary-200 | text-primary-200 |
bg | text | primary | secondary | tertiary | 300 | bg-primary-300 | text-primary-300 |
bg | text | primary | secondary | tertiary | 400 | bg-primary-400 | text-primary-400 |
bg | text | primary | secondary | tertiary | 500 | bg-primary-500 | text-primary-500 |
bg | text | primary | secondary | tertiary | 600 | bg-primary-600 | text-primary-600 |
bg | text | primary | secondary | tertiary | 700 | bg-primary-700 | text-primary-700 |
bg | text | primary | secondary | tertiary | 800 | bg-primary-800 | text-primary-800 |
bg | text | primary | secondary | tertiary | 900 | bg-primary-900 | text-primary-900 |
Background and text properties
Background Property | Text Property |
---|---|
bg-inherit | text-inherit |
bg-current | text-current |
bg-transparent | text-transparent |
Display Property |
---|
display-block |
display-inline-block |
display-inline |
display-flex |
display-inline-flex |
display-grid |
display-inline-grid |
display-flow-root |
display-none |
display-contents |
display-list-item |
Custom variables to extend properties
Prefix | Property | Class Name |
---|---|---|
flex- | row | flex-row |
flex- | row-reverse | flex-row-reverse |
flex- | col | flex-col |
flex- | col-reverse | flex-col-reverse |
flex- | wrap | flex-wrap |
flex- | wrap-reverse | flex-wrap-reverse |
flex- | nowrap | flex-nowrap |
flex- | grow | flex-grow |
flex- | no-grow | flex-no-grow |
flex- | shrink | flex-shrink |
flex- | no-shrink | flex-no-shrink |
Every property is mapped to every value. So you can append the property name to any value.
Property | Value | Class Name |
---|---|---|
inset | 0 | auto | full | quarter | half | three-quarters | third | two-thirds | inset-auto |
inset-x | 0 | auto | full | quarter | half | three-quarters | third | two-thirds | inset-x-full |
inset-y | 0 | auto | full | quarter | half | three-quarters | third | two-thirds | inset-y-quarter |
inset-start | 0 | auto | full | quarter | half | three-quarters | third | two-thirds | inset-start-half |
inset-end | 0 | auto | full | quarter | half | three-quarters | third | two-thirds | inset-end-three-quarters |
top | 0 | auto | full | quarter | half | three-quarters | third | two-thirds | top-third |
right | 0 | auto | full | quarter | half | three-quarters | third | two-thirds | right-two-thirds |
bottom | 0 | auto | full | quarter | half | three-quarters | third | two-thirds | bottom-0 |
left | 0 | auto | full | quarter | half | three-quarters | third | two-thirds | left-auto |
Justify Content
normal | justify-content-normal |
---|---|
start | justify-content-start |
end | justify-content-end |
center | justify-content-center |
between | justify-content-between |
around | justify-content-around |
evenly | justify-content-evenly |
stretch | justify-content-stretch |
Justify Items
Property | Class Name |
---|---|
start | justify-items-start |
end | justify-items-end |
center | justify-items-center |
stretch | justify-items-stretch |
Justify Self
auto | justify-self-auto |
---|---|
start | justify-self-start |
end | justify-self-end |
center | justify-self-center |
stretch | justify-self-stretch |
List style type properties
Property | Class Name |
---|---|
none | list-style-none |
disc | list-style-disc |
decimal | list-style-decimal |
circle | list-style-circle |
square | list-style-square |
List style position properties
inside | list-style-inside |
---|---|
outside | list-style-outside |
Property | Class Name |
---|---|
none | order-none |
first | order-first |
last | order-last |
Property | Class Name |
---|---|
static | position-static |
fixed | position-fixed |
absolute | position-absolute |
relative | position-relative |
sticky | position-sticky |
Variables
$ratio: var(*--#{root-defaults.$prefix}ratio*);
Contains element add this class to
Item that covers the container uses this with the default prefix as “.”
Different rations you can use
Property | Class Name |
---|---|
one-by-one | one-by-one |
two-by-one | two-by-one |
four-by-three | four-by-three |
four-by-one | four-by-one |
sixteen-by-nine | sixteen-by-nine |
three-by-two | three-by-two |
eight-by-five | eight-by-five |
Abbreviation | Description | Values | Class Name |
---|---|---|---|
g | gap | 1 to 10 | g-1 |
rg | row-gap | 1 to 10 | rg-2 |
cg | column-gap | 1 to 10 | cg-3 |
p | padding | 1 to 10 | p-4 |
pt | padding-top | 1 to 10 | pt-5 |
pr | padding-right | 1 to 10 | pr-6 |
pb | padding-bottom | 1 to 10 | pb-7 |
pl | padding-left | 1 to 10 | pl-8 |
px | padding-left padding-right | 1 to 10 | px-9 |
py | padding-top padding-bottom | 1 to 10 | py-10 |
pbs | padding-block-start | 1 to 10 | pbs-1 |
pbe | padding-block-end | 1 to 10 | pbe-2 |
pbse | padding-block-start padding-block-end | 1 to 10 | pbse-3 |
pis | padding-inline-start | 1 to 10 | pis-4 |
pie | padding-inline-end | 1 to 10 | pie-5 |
pise | padding-inline-start padding-inline-end | 1 to 10 | pise-6 |
m | margin | 1 to 10 | m-7 |
mt | margin-top | 1 to 10 | mt-8 |
mr | margin-right | 1 to 10 | mr-9 |
mb | margin-bottom | 1 to 10 | mb-10 |
ml | margin-left | 1 to 10 | ml-1 |
mx | margin-left margin-right | 1 to 10 | mx-2 |
my | margin-top margin-bottom | 1 to 10 | my-3 |
mbs | margin-block-start | 1 to 10 | mbs-4 |
mbe | margin-block-end | 1 to 10 | mbe-5 |
mbse | margin-block-start margin-block-end | 1 to 10 | mbse-6 |
mis | margin-inline-start | 1 to 10 | mis-7 |
mie | margin-inline-end | 1 to 10 | mie-8 |
mise | margin-inline-start margin-inline-end | 1 to 10 | mise-9 |
Text utilities
Font Size Utilities
Property | Class Name |
---|---|
xs | text-xs |
sm | text-sm |
base | text-base |
lg | text-lg |
xl | text-xl |
2xl | text-2xl |
3xl | text-3xl |
4xl | text-4xl |
5xl | text-5xl |
Font Weight Utilities
Property | Class Name |
---|---|
light | font-light |
normal | font-normal |
bold | font-bold |
Font Style Utilities
Property | Class Name |
---|---|
normal | font-normal |
italic | font-italic |
$visibility-class-prefix: "visibility-" !default;
Property | Class Name |
---|---|
visible | visibility-visible |
hidden | visibility-hidden |
collapse | visibility-collapse |