Skip to content
This repository was archived by the owner on May 22, 2020. It is now read-only.

Latest commit

 

History

History
1689 lines (1253 loc) · 98 KB

File metadata and controls

1689 lines (1253 loc) · 98 KB

Props

The list of all elementary styling props.

Layout

Spaces

Typography

Flex

Grid

Background

Misc

Position



Reference

display

This CSS property specifies the display behavior (box rendering type) of an element.

Type Default
oneOf(inline, block, inline-block, flex, grid, none) or array block

Value examples Description
"inline" Simple value
["block", "block", "inline", "inline", "inline"] Value for different breakpoints (sets in theme/breakpoints)

height

This CSS property sets the height of an element. The height of an element does not include padding, borders, or margins.

Type Default
string, number or array auto

Value examples Description
"100px" Value in pixels
"40%" Percentage value
"10em" Value in em
"10rem" Value in rem
"10ch" Value in ch
"10ex" Value in ex
"10vh" Value in vh
"10vw" Value in vw
"10vmin" Value in vmin
"10vmax" Value in vmax
"auto" The browser calculates the height
1/2 Value in fractions of the parent container
[1, 1/2, 2/3, 2/3, 1/3] Value for diffenent breakpoints (sets in theme/breakpoints)

minHeight

This CSS property defines the minimum height of an element.

Type Default
string, number or array 0

Value examples Description
"100px" Value in pixels
"40%" Percentage value
"10em" Value in em
"10rem" Value in rem
"10ch" Value in ch
"10ex" Value in ex
"10vh" Value in vh
"10vw" Value in vw
"10vmin" Value in vmin
"10vmax" Value in vmax
1/2 Value in fractions of the parent container
[1, 1/2, 2/3, 2/3, 1/3] Value for diffenent breakpoints (sets in theme/breakpoints)

maxHeight

This CSS property defines the maximum height of an element.

Type Default
string, number or array none

Value examples Description
"100px" Value in pixels
"40%" Percentage value
"10em" Value in em
"10rem" Value in rem
"10ch" Value in ch
"10ex" Value in ex
"10vh" Value in vh
"10vw" Value in vw
"10vmin" Value in vmin
"10vmax" Value in vmax
1/2 Value in fractions of the parent container
[1, 1/2, 2/3, 2/3, 1/3] Value for diffenent breakpoints (sets in theme/breakpoints)

width

This CSS property sets the width of an element. The width of an element does not include padding, borders, or margins.

Type Default
string, number or array auto

Value examples Description
"100px" Value in pixels
"40%" Percentage value
"10em" Value in em
"10rem" Value in rem
"10ch" Value in ch
"10ex" Value in ex
"10vh" Value in vh
"10vw" Value in vw
"10vmin" Value in vmin
"10vmax" Value in vmax
"auto" The browser calculates the width
1/2 Value in fractions of the parent container
[1, 1/2, 2/3, 2/3, 1/3] Value for diffenent breakpoints (sets in theme/breakpoints)

minWidth

This CSS property defines the minimum width of an element.

Type Default
string, number or array 0

Value examples Description
"100px" Value in pixels
"40%" Percentage value
"10em" Value in em
"10rem" Value in rem
"10ch" Value in ch
"10ex" Value in ex
"10vh" Value in vh
"10vw" Value in vw
"10vmin" Value in vmin
"10vmax" Value in vmax
1/2 Value in fractions of the parent container
[1, 1/2, 2/3, 2/3, 1/3] Value for diffenent breakpoints (sets in theme/breakpoints)

maxWidth

This CSS property defines the maximum width of an element.

Type Default
string, number or array none

Value examples Description
"100px" Value in pixels
"40%" Percentage value
"10em" Value in em
"10rem" Value in rem
"10ch" Value in ch
"10ex" Value in ex
"10vh" Value in vh
"10vw" Value in vw
"10vmin" Value in vmin
"10vmax" Value in vmax
1/2 Value in fractions of the parent container
[1, 1/2, 2/3, 2/3, 1/3] Value for diffenent breakpoints (sets in theme/breakpoints)

size

This property defines both "width" and "height" CSS properties.

Type Default
string or array none

Value examples Description
"100px" Value in pixels
"40%" Percentage value
"10em" Value in em
"10rem" Value in rem
"10ch" Value in ch
"10ex" Value in ex
"10vh" Value in vh
"10vw" Value in vw
"10vmin" Value in vmin
"10vmax" Value in vmax
1/2 Value in fractions of the parent container
[1, 1/2, 2/3, 2/3, 1/3] Value for diffenent breakpoints (sets in theme/breakpoints)

verticalAlign

This CSS property sets the vertical alignment of an element.

Type Default
oneOf(baseline, text-top, text-bottom, sub, super) or array baseline

Value examples Description
"baseline" Simple value
["baseline", "baseline", "text-top", "text-top", "text-top"] Value for diffenent breakpoints (sets in theme/breakpoints)

p

The shorthand for the "padding" CSS property. Used to generate space around an element's content, inside of any defined borders.

Type Default
string, number or array none

Value examples Description
"100px" Value in pixels
"40%" Percentage value
"10em" Value in em
"10rem" Value in rem
"10ch" Value in ch
"10ex" Value in ex
"10vh" Value in vh
"10vw" Value in vw
"10vmin" Value in vmin
"10vmax" Value in vmax
5 Value from theme/scale
[5, 5, 6, 6, 6] Value for diffenent breakpoints (sets in theme/breakpoints)
"100px, 200px, 300px, 400px" If four values are specified, they are applied to the top, right, bottom and the left padding respectively in the specified order
"100px, 200px, 300px" If three values are specified, the first value is applied to the top padding, the second value is applied to the right and left padding, and the third is applied to the bottom padding
"100px, 200px" If two values are specified, the first value is applied to the top and bottom paddings, and the second value is applied to the right and left paddings

pt

The shorthand for the "padding-top" CSS property.

Type Default
string, number or array none

Value examples Description
"100px" Value in pixels
"40%" Percentage value
"10em" Value in em
"10rem" Value in rem
"10ch" Value in ch
"10ex" Value in ex
"10vh" Value in vh
"10vw" Value in vw
"10vmin" Value in vmin
"10vmax" Value in vmax
5 Value from theme/scale
[5, 5, 6, 6, 6] Value for diffenent breakpoints (sets in theme/breakpoints)

pr

The shorthand for the "padding-right" CSS property.

Type Default
string, number or array none

Value examples Description
"100px" Value in pixels
"40%" Percentage value
"10em" Value in em
"10rem" Value in rem
"10ch" Value in ch
"10ex" Value in ex
"10vh" Value in vh
"10vw" Value in vw
"10vmin" Value in vmin
"10vmax" Value in vmax
5 Value from theme/scale
[5, 5, 6, 6, 6] Value for diffenent breakpoints (sets in theme/breakpoints)

pb

The shorthand for the "padding-bottom" CSS property.

Type Default
string, number or array none

Value examples Description
"100px" Value in pixels
"40%" Percentage value
"10em" Value in em
"10rem" Value in rem
"10ch" Value in ch
"10ex" Value in ex
"10vh" Value in vh
"10vw" Value in vw
"10vmin" Value in vmin
"10vmax" Value in vmax
5 Value from theme/scale
[5, 5, 6, 6, 6] Value for diffenent breakpoints (sets in theme/breakpoints)

pl

The shorthand for the "padding-left" CSS property.

Type Default
string, number or array none

Value examples Description
"100px" Value in pixels
"40%" Percentage value
"10em" Value in em
"10rem" Value in rem
"10ch" Value in ch
"10ex" Value in ex
"10vh" Value in vh
"10vw" Value in vw
"10vmin" Value in vmin
"10vmax" Value in vmax
5 Value from theme/scale
[5, 5, 6, 6, 6] Value for diffenent breakpoints (sets in theme/breakpoints)

px

Both "padding-right" and "padding-left" (x-axis) CSS properties.

Type Default
string, number or array none

Value examples Description
"100px" Value in pixels
"40%" Percentage value
"10em" Value in em
"10rem" Value in rem
"10ch" Value in ch
"10ex" Value in ex
"10vh" Value in vh
"10vw" Value in vw
"10vmin" Value in vmin
"10vmax" Value in vmax
5 Value from theme/scale
[5, 5, 6, 6, 6] Value for diffenent breakpoints (sets in theme/breakpoints)

py

This property defines both "padding-top" and "padding-bottom" (y-axis) CSS properties.

Type Default
string, number or array none

Value examples Description
"100px" Value in pixels
"40%" Percentage value
"10em" Value in em
"10rem" Value in rem
"10ch" Value in ch
"10ex" Value in ex
"10vh" Value in vh
"10vw" Value in vw
"10vmin" Value in vmin
"10vmax" Value in vmax
5 Value from theme/scale
[5, 5, 6, 6, 6] Value for diffenent breakpoints (sets in theme/breakpoints)

m

The shorthand for the "margin" CSS property. Used to set the margins for an element, outside of any defined borders.

Type Default
string, number or array none

Value examples Description
"100px" Value in pixels
"40%" Percentage value
"10em" Value in em
"10rem" Value in rem
"10ch" Value in ch
"10ex" Value in ex
"10vh" Value in vh
"10vw" Value in vw
"10vmin" Value in vmin
"10vmax" Value in vmax
5 Value from theme/scale
[5, 5, 6, 6, 6] Value for diffenent breakpoints (sets in theme/breakpoints)
"100px, 200px, 300px, 400px" The four-value syntax: first for top margin, second for right margin, third for bottom margin, fourth for left margin
"100px, 200px, 300px" The three-value syntax: first for top margin, second for right and left margins, third for bottom margin
"100px, 200px" The two-value syntax: first for top and bottom margins, second for right and left margins

mt

The shorthand for the "margin-top" CSS property.

Type Default
string, number or array none

Value examples Description
"100px" Value in pixels
"40%" Percentage value
"10em" Value in em
"10rem" Value in rem
"10ch" Value in ch
"10ex" Value in ex
"10vh" Value in vh
"10vw" Value in vw
"10vmin" Value in vmin
"10vmax" Value in vmax
5 Value from theme/scale
[5, 5, 6, 6, 6] Value for diffenent breakpoints (sets in theme/breakpoints)

mr

The shorthand for the "margin-right" CSS property.

Type Default
string, number or array none

Value examples Description
"100px" Value in pixels
"40%" Percentage value
"10em" Value in em
"10rem" Value in rem
"10ch" Value in ch
"10ex" Value in ex
"10vh" Value in vh
"10vw" Value in vw
"10vmin" Value in vmin
"10vmax" Value in vmax
5 Value from theme/scale
[5, 5, 6, 6, 6] Value for diffenent breakpoints (sets in theme/breakpoints)

mb

The shorthand for the "margin-bottom" CSS property.

Type Default
string, number or array none

Value examples Description
"100px" Value in pixels
"40%" Percentage value
"10em" Value in em
"10rem" Value in rem
"10ch" Value in ch
"10ex" Value in ex
"10vh" Value in vh
"10vw" Value in vw
"10vmin" Value in vmin
"10vmax" Value in vmax
5 Value from theme/scale
[5, 5, 6, 6, 6] Value for diffenent breakpoints (sets in theme/breakpoints)

ml

The shorthand for the "margin-left" CSS property.

Type Default
string, number or array none

Value examples Description
"100px" Value in pixels
"40%" Percentage value
"10em" Value in em
"10rem" Value in rem
"10ch" Value in ch
"10ex" Value in ex
"10vh" Value in vh
"10vw" Value in vw
"10vmin" Value in vmin
"10vmax" Value in vmax
5 Value from theme/scale
[5, 5, 6, 6, 6] Value for diffenent breakpoints (sets in theme/breakpoints)

mx

This property defines both are "margin-right" and "margin-left" (x-axis) CSS properties.

Type Default
string, number or array none

Value examples Description
"100px" Value in pixels
"40%" Percentage value
"10em" Value in em
"10rem" Value in rem
"10ch" Value in ch
"10ex" Value in ex
"10vh" Value in vh
"10vw" Value in vw
"10vmin" Value in vmin
"10vmax" Value in vmax
5 Value from theme/scale
[5, 5, 6, 6, 6] Value for diffenent breakpoints (sets in theme/breakpoints)

my

Both are "margin-top" and "margin-bottom" (x-axis) CSS properties.

Type Default
string, number or array none

Value examples Description
"100px" Value in pixels
"40%" Percentage value
"10em" Value in em
"10rem" Value in rem
"10ch" Value in ch
"10ex" Value in ex
"10vh" Value in vh
"10vw" Value in vw
"10vmin" Value in vmin
"10vmax" Value in vmax
5 Value from theme/scale
[5, 5, 6, 6, 6] Value for diffenent breakpoints (sets in theme/breakpoints)

fontSize

This CSS property sets the size of a font.

Type Default
oneOf(medium, xx-small, x-small, small, large, x-large, xx-large, smaller, larger, initial, inherit), string, number or array medium

Value examples Description
"medium" Value is a predefined name
"40%" Percentage value
"10em" Value in em
"10rem" Value in rem
"10ch" Value in ch
"10ex" Value in ex
"10vh" Value in vh
"10vw" Value in vw
"10vmin" Value in vmin
"10vmax" Value in vmax
5 Value from theme/fontSizes
["12px", "14px", "16px", "18px", "20px"] Value for diffenent breakpoints (sets in theme/breakpoints)

color

This CSS property specifies the color of the text. Colors can be specified by the following methods:

  • Hexadecimal colors (#0000ff)
  • RGB colors (rgb(0, 0, 255))
  • RGBA colors (rgba(0, 0, 255, 0.3))
  • HSL colors (hsl(120, 100%, 25%))
  • HSLA colors (hsla(120, 100%, 25%, 0.3))
  • Predefined/Cross-browser color names (darkblue)
  • Theme variable (primary)
Type Default
string or array not specified

Value examples Description
"#0000ff" Value in hexadecimal colors
"rgb(0, 0, 255)" Value in RGB colors
"rgba(0, 0, 255, 0.3)" Value in RGBA colors
"hsl(120, 100%, 25%)" Value in HSL colors
"hsla(120, 100%, 25%, 0.3)" Value in ch
"darkblue" Value is a predefined name
"primary" Value from theme/colors
["primary", "red", "rgb(0, 0, 255)", "yellow-l3", "green-d2"] Value for diffenent breakpoints (sets in theme/breakpoints)

fontFamily

This CSS property specifies the font for an element.

Type Default
string or array depends on the browser

Value examples Description
"times" Value is the name of a font-family
"sans-serif" Value is the name of a generic font family.
"'Times New Roman', Times, serif" Value contains several font names that act as a "fallback" system. If the browser does not support the first font, it tries the next font
"sans-heavy" Value from theme/fonts
["sans-serif", "sans-serif", "serif", "serif", "serif"] Value for diffenent breakpoints (sets in theme/breakpoints)

fontWeight

This CSS property sets how thick or thin characters in text should be displayed.

Type Default
oneOf(normal, bold, bolder, lighter, 100, 200, 300, 400, 500, 600, 700, 800, 900, initial, inherit), or array normal

Value examples Description
"normal" Value is a predefined name
500 Weight numeric value
[700, 600, 500, 400, 300] Value for diffenent breakpoints (sets in theme/breakpoints)

textAlign

This CSS property specifies the horizontal alignment of text in an element.

Type Default
oneOf(left, right, center, justify, initial, inherit), or array left or right

Value examples Description
"left" Value is a predefined name
["center", "center", "left", "left", "left"] Value for diffenent breakpoints (sets in theme/breakpoints)

lineHeight

This CSS property specifies the height of a line. It can be specified in number, length or percentage.

Type Default
"normal", string, or array normal

Value examples Description
"normal" Value is a predefined name
"1.6" Numeric values
"100px" Value in pixels
"40%" Percentage value
"10em" Value in em
"10rem" Value in rem
"10ch" Value in ch
"10ex" Value in ex
"10vh" Value in vh
"10vw" Value in vw
"10vmin" Value in vmin
"10vmax" Value in vmax
["1", "1", "1.6", "2", "2"] Value for diffenent breakpoints (sets in theme/breakpoints)

fontStyle

This CSS property specifies the font style of the text. It can be specified in number, length or percentage.

Type Default
oneOf(normal, italic, oblique, initial, inherit), or array normal

Value examples Description
"normal" Value is a predefined name
["normal", "normal", "normal", "italic", "italic"] Value for diffenent breakpoints (sets in theme/breakpoints)

letterSpacing

This CSS property increases or decreases the space between characters in the text. It can be specified in number, length or percentage.

Type Default
oneOf(normal, initial, inherit), string, or array normal

Value examples Description
"normal" Value is a predefined name
"2px" Value in pixels
["normal", "normal", "normal", "italic", "italic"] Value for diffenent breakpoints (sets in theme/breakpoints)

alignItems

This CSS property specifies the default alignment for items inside the flexible container.

Type Default
oneOf(stretch, center, flex-start, flex-end, baseline, initial, inherit) or array stretch

Value examples Description
"stretch" Value is a predefined name
["center", "center", "flex-start", "flex-start", "flex-start"] Value for diffenent breakpoints (sets in theme/breakpoints)

alignContent

This CSS property modifies the behavior of the flex-wrap property. It is similar to align-items, but instead of aligning flex items it aligns flex lines. There must be multiple lines of items for this property to have any effect!

Type Default
oneOf(stretch, center, flex-start, flex-end, space-between, space-around, initial, inherit) or array stretch

Value examples Description
"stretch" Value is a predefined name
["center", "center", "flex-start", "flex-start", "flex-start"] Value for diffenent breakpoints (sets in theme/breakpoints)

justifyItems

This CSS property defines the default justify-self for all items of the box, giving them all a default way of justifying each box along the appropriate axis.

Type Default
oneOf(auto, normal, stretch, center, start, end, flex-start, flex-end, self-start, self-end, left, right, baseline, first baseline, last baseline, safe center, unsafe center, legacy right, legacy left, legacy center, inherit, initial, unset) or array none

Value examples Description
"stretch" Value is a predefined name
["center", "center", "flex-start", "flex-start", "flex-start"] Value for diffenent breakpoints (sets in theme/breakpoints)

justifyContent

This CSS property aligns the flexible container's items when the items do not use all available space on the main-axis (horizontally).

Type Default
oneOf(flex-start, flex-end, center, space-between, space-around, initial, inherit) or array flex-start

Value examples Description
"center" Value is a predefined name
["center", "center", "flex-start", "flex-start", "flex-start"] Value for diffenent breakpoints (sets in theme/breakpoints)

flexWrap

This CSS property specifies whether the flexible items should wrap or not.

Type Default
oneOf(nowrap, wrap, wrap-reverse, initial, inherit) or array nowrap

Value examples Description
"wrap" Value is a predefined name
["wrap", "wrap", "nowrap", "nowrap", "nowrap"] Value for diffenent breakpoints (sets in theme/breakpoints)

flexBasis

This CSS property specifies the initial length of a flexible item.

Type Default
number or array 0

Value examples Description
"1" Numeric value
"100px" Value in pixels
"40%" Percentage value
"10em" Value in em
"10rem" Value in rem
"10ch" Value in ch
"10ex" Value in ex
"10vh" Value in vh
"10vw" Value in vw
"10vmin" Value in vmin
"10vmax" Value in vmax
["1", "1", "2", "2", "2"] Value for diffenent breakpoints (sets in theme/breakpoints)

flexDirection

This CSS property specifies the direction of the flexible items.

Type Default
oneOf(row, row-reverse, column, column-reverse, initial, inherit) or array row

Value examples Description
"row" Value is a predefined name
["column", "column", "column", "row", "row"] Value for diffenent breakpoints (sets in theme/breakpoints)

flex

This CSS property is a shorthand property for: flex-grow, flex-shrink, flex-basis.

Type Default
string or array 0 1 auto

Value examples Description
"auto" Value is a predefined name
"0 1 auto" Value is a group of flex-grow flex-shrink and flex-basis values
["1 1 auto", "1 1 auto", "1 1 auto", "auto", "auto"] Value for diffenent breakpoints (sets in theme/breakpoints)

order

This CSS property specifies the order of a flexible item relative to the rest of the flexible items inside the same container.

Type Default
number or array 0

Value examples Description
"0" Numeric value
["0", "0", "1", "1", "1"] Value for diffenent breakpoints (sets in theme/breakpoints)

justifySelf

This CSS property sets the way a box is justified inside its alignment container along the appropriate axis.

Type Default
oneOf(auto, normal, stretch, center, start, end, flex-start, flex-end, self-start, self-end, left, right, baseline, first baseline, last baseline, safe center, unsafe center, legacy right, legacy left, legacy center, inherit, initial, unset) or array auto

alignSelf

This CSS property overrides the grid or flex item's align-items value. In Grid, it aligns the item inside the grid area. In Flexbox, it aligns the item on the cross axis.

Type Default
oneOf(auto, normal, stretch, center, start, end, flex-start, flex-end, self-start, self-end, left, right, baseline, first baseline, last baseline, safe center, unsafe center, legacy right, legacy left, legacy center, inherit, initial, unset) or array auto

gridGap

It is a shorthand for row-gap and column-gap.

Syntax: there are three different syntaxes you can use with this property:

  1. the one-value syntax for both row and column in any CSS units ("20px", "3vmin", "100%", e.g.),
  2. the two-value syntax: first row, second column in any CSS units ("20px 10px", "3vmin 2vmax", "21px 82%", e.g.),
  3. global values (inherit, initial, unset)
Type Default
string or array normal

gridColumnGap

This CSS property sets the size of the gap (gutter) between the element's columns.

Type Default
oneOf(normal, inherit, initial, unset) string or array normal

gridRowGap

This CSS property sets the size of the gap (gutter) between an element's grid rows.

Type Default
oneOf(normal, inherit, initial, unset) string or array normal

gridColumn

This is a shorthand property for grid-column-start and grid-column-end. Read about syntax

Type Default
string or array auto

gridRow

This is a shorthand property for grid-row-start and grid-row-end. Read about syntax

Type Default
string or array auto

gridAutoFlow

This CSS property controls how the auto-placement algorithm works, specifying exactly how auto-placed items get flowed into the grid.

Type Default
oneOf(row, column, dense, row dense, column dense, inherit, initial, unset) or array row

gridAutoColumns

This CSS property specifies the size of an implicitly-created grid column track. Read about syntax

Type Default
string or array auto

gridAutoRows

This CSS property specifies the size of an implicitly-created grid row track. Read about syntax

Type Default
string or array auto

gridTemplateColumns

This CSS property defines the line names and track sizing functions of the grid columns. Read about syntax

Type Default
string or array none

gridTemplateRows

This CSS property defines the line names and track sizing functions of the grid rows. Read about syntax

Type Default
string or array none

gridTemplateAreas

This CSS property specifies named grid areas. Read about syntax

Type Default
string or array none

gridArea

This is a shorthand property for grid-row-start, grid-column-start, grid-row-end and grid-column-end, specifying a grid item’s size and location within the grid by contributing a line, a span, or nothing (automatic) to its grid placement, thereby specifying the edges of its grid area. Read about syntax

Type Default
string or array auto

background

This is a shorthand property for background-color, background-image, background-position, background-size, background-repeat, background-origin, background-clip, background-attachment.

Syntax: background="bg-color bg-image position/bg-size bg-repeat bg-origin bg-clip bg-attachment"

Type Default
string or array individual

Value examples Description
"lightblue url('image.jpg') center center cover no-repeat padding-box content-box fixed" Value is a group of values for properties in the following order: background-color, background-image, background-position, background-size, background-repeat, background-origin, background-clip, background-attachment

bgc

The shorthand for the "background-color" CSS property.

Type Default
string or array none

Value examples Description
"#0000ff" Value in hexadecimal colors
"rgb(0, 0, 255)" Value in RGB colors
"rgba(0, 0, 255, 0.3)" Value in RGBA colors
"hsl(120, 100%, 25%)" Value in HSL colors
"hsla(120, 100%, 25%, 0.3)" Value in ch
"darkblue" Value is a predefined name
"primary" Value from theme/colors
["primary", "red", "rgb(0, 0, 255)", "yellow-l3", "green-d2"] Value for diffenent breakpoints (sets in theme/breakpoints)

backgroundImage

This CSS property sets one or more background images for an element.

Syntax: backgroundColor="url(firstImage.png), url(secondImage.png)"

Type Default
string or array none

Value examples Description
"url(image1.jpg), url(image2.jpg)" Value is the two image URLs
["url(image1.jpg)", "url(image2.jpg)", "url(image3.jpg)", "url(image4.jpg)", "url(image5.jpg)"] Value for diffenent breakpoints (sets in theme/breakpoints)

backgroundSize

This CSS property specifies the size of the background images.

Syntax: there are four different syntaxes you can use with this property:

  1. the keyword syntax ("auto", "cover" and "contain"),
  2. the one-value syntax (sets the width of the image (height becomes "auto"),
  3. the two-value syntax (first value: width of the image, second value: height),
  4. the multiple background syntax (separated with comma).
Type Default
oneOf(auto, cover, contain, initial, inherit), string or array auto

Value examples Description
"auto" Value is a predefined name
"100px" Value in pixels
"50%" Percentage value
"10em" Value in em
"10rem" Value in rem
"10ch" Value in ch
"10ex" Value in ex
"10vh" Value in vh
"10vw" Value in vw
"10vmin" Value in vmin
"10vmax" Value in vmax
"10px 150px" The two-value syntax: first for width, second for height
["cover", "cover", "cover", "contain", "contain"] Value for diffenent breakpoints (sets in theme/breakpoints)

backgroundPosition

This CSS property sets the starting position of a background image.

Syntax: there are three different syntaxes you can use with this property:

  1. the keyword syntax ("left top", "left center", e.g.),
  2. the two-value syntax in percentages (the first value is the horizontal position and the second value is the vertical. The top left corner is 0% 0%),
  3. the two-value syntax in any CSS units(the first value is the horizontal position and the second value is the vertical. The top left corner is 0 0).
Type Default
oneOf(left top, left center, left bottom, right top, right center, right bottom, center top, center center, center bottom), string or array 0% 0%

Value examples Description
"left top" The two-value syntax in predefined names: the first is for horizontal, the second is for vertical
"25% 75%" The two-value syntax in percentages: the first is for horizontal, the second is for vertical
"50px 150px" The two-value syntax in pixels: the first is for horizontal, the second is for vertical
["left top", "left top", "left top", "center", "center"] Value for diffenent breakpoints (sets in theme/breakpoints)

backgroundRepeat

This CSS property sets if/how a background image will be repeated.

Type Default
oneOf(repeat, repeat-x, repeat-y, no-repeat, space, round, initial, inherit) or array repeat

Value examples Description
"repeat" Value is a predefined name
["repeat", "repeat-x", "no-repeat", "space", "round"] Value for diffenent breakpoints (sets in theme/breakpoints)

border

It is a shorthand property for: border-width, border-style (required), border-color.

Type Default
string or array medium none color

Value examples Description
"2px solid blue" The three-value syntax: first for border-width, second for border-style, third for border-color
["2px solid blue", "2px solid blue", "3px solid blue", "3px solid blue", "4px solid blue"] Value for diffenent breakpoints (sets in theme/breakpoints)

borderTop

This is a shorthand property that sets all the top border properties in one declaration. The properties that can be set must be in the following order: border-top-width, border-top-style (required), border-top-color.

Type Default
string or array medium none color

Value examples Description
"2px solid blue" The three-value syntax: first for border-top-width, second for border-top-style, third for border-top-color
["2px solid blue", "2px solid blue", "3px solid blue", "3px solid blue", "4px solid blue"] Value for diffenent breakpoints (sets in theme/breakpoints)

borderRight

It is a shorthand property sets all the right border properties in one declaration. The properties that can be set must be in the following order: border-right-width, border-right-style (required), border-right-color.

Type Default
string or array medium none color

Value examples Description
"2px solid blue" The three-value syntax: first for border-right-width, second for border-right-style, third for border-right-color
["2px solid blue", "2px solid blue", "3px solid blue", "3px solid blue", "4px solid blue"] Value for diffenent breakpoints (sets in theme/breakpoints)

borderBottom

It is a shorthand property sets all the bottom border properties in one declaration. The properties that can be set must be in the following order: border-bottom-width, border-bottom-style (required), border-bottom-color.

Type Default
string or array medium none color

Value examples Description
"2px solid blue" The three-value syntax: first for border-bottom-width, second for border-bottom-style, third for border-bottom-color
["2px solid blue", "2px solid blue", "3px solid blue", "3px solid blue", "4px solid blue"] Value for diffenent breakpoints (sets in theme/breakpoints)

borderLeft

It is a shorthand property sets all the left border properties in one declaration. The properties that can be set must be in the following order: border-left-width, border-left-style (required), border-left-color.

Type Default
string or array medium none color

Value examples Description
"2px solid blue" The three-value syntax: first for border-left-width, second for border-left-style, third for border-left-color
["2px solid blue", "2px solid blue", "3px solid blue", "3px solid blue", "4px solid blue"] Value for diffenent breakpoints (sets in theme/breakpoints)

borderColor

This CSS property sets the color of an element's four borders. This property can have from one to four values.

Syntax: there are four different syntaxes you can use with this property:

  1. the one-value syntax (the value applies to all four borders),
  2. the two-value syntax (first value applies to top and bottom, and the second value applies to right and left borders),
  3. the three-value syntax (first value applies to top, second value applies to right and left, and third value applies to bottom border),
  4. the four-value syntax (first value applies to top, second value applies to right, third value applies to bottom, and fourth value applies to left border).
Type Default
oneOf(transparent, initial, inherit), string or array none

Value examples Description
"blue" The one-value syntax for all four borders
"blue green" The two-value syntax: first for top and bottom borders, second for left and right borders
"blue green yellow" The three-value syntax: first for top border, second for left and right borders, third for bottom border
"blue green yellow orange" The four-value syntax: first for top border, second for right border, third for bottom border, fourth for left border
["blue", "black", "green", "yellow", "red"] Value for diffenent breakpoints (sets in theme/breakpoints)

borderRadius

This CSS property defines the radius of the element's corners. This property can have from one to four values.

Syntax: there are four different syntaxes you can use with this property:

  1. the one-value syntax (the value applies to all four corners, which are rounded equally),
  2. the two-value syntax (first value applies to top-left and bottom-right corners, and the second value applies to top-right and bottom-left corners),
  3. the three-value syntax (first value applies to top-left corner, second value applies to top-right and bottom-left corners, and third value applies to bottom-right corner),
  4. the four-value syntax (first value applies to top-left corner, second value applies to top-right corner, third value applies to bottom-right corner, and fourth value applies to bottom-left corner).
Type Default
string or array 0

Value examples Description
"10px" The one-value syntax in pixels for all four corners
"50%" Percentage value
"10em" Value in em
"10rem" Value in rem
"10ch" Value in ch
"10ex" Value in ex
"10vh" Value in vh
"10vw" Value in vw
"10vmin" Value in vmin
"10vmax" Value in vmax
"10px 150px" The two-value syntax: first for top-left and bottom-right corners, second for top-right and bottom-left corners
"10px 150px 200px" The three-value syntax: first for top-left corner, second for top-right and bottom-left corners, third for bottom-right corner
"10px 150px 200px 50px" The four-value syntax: first for top-left corner, second for top-right corner, third for bottom-left corner, fourth for bottom-right corner
["3px", "5px", "10px", "20px", "30px"] Value for diffenent breakpoints (sets in theme/breakpoints)

opacity

This CSS property sets the opacity level for an element.

Type Default
number or array 1

Value examples Description
"0.6" Numeric value
["0.2", "0.4", "0.6", "0.8", "1"] Value for diffenent breakpoints (sets in theme/breakpoints)

boxShadow

This CSS property attaches one or more shadows to an element. To attach more than one shadow to an element, add a comma-separated list of shadows.

Syntax: boxShadow="h-offset v-offset blur spread color"

Type Default
string or array none

Value examples Description
"none" Value is a predefined name
"10px 20px" The two-value syntax: first for the h-offset, second for the v-offset
"10px 20px 30px 2px blue" The five-value syntax: first for the h-offset, second for the v-offset, third for the blur, fourth for the spread, fifth for the color
["none", "2px 2px", "5px 5px", "10px 10px", "20px 20px"] Value for diffenent breakpoints (sets in theme/breakpoints)

overflow

This CSS property specifies what should happen if content overflows an element's box.

Type Default
oneOf(visible, hidden, scroll, auto, initial, inherit) or array visible

Value examples Description
"scroll" Value is a predefined name
["visible", "hidden", "scroll", "auto", "hidden"] Value for diffenent breakpoints (sets in theme/breakpoints)

position

This CSS property specifies the type of positioning method used for an element.

Type Default
oneOf(static, absolute, fixed, relative, sticky, initial, inherit) or array static

Value examples Description
"absolute" Value is a predefined name
["static", "absolute", "fixed", "relative", "sticky"] Value for diffenent breakpoints (sets in theme/breakpoints)

top

This CSS property affects the vertical position of a positioned element. This property has no effect on non-positioned elements.

Behavior

  1. If position="absolute" or position="fixed" - the top property sets the top edge of an element to a unit above/below the top edge of its nearest positioned ancestor,
  2. If position="relative" - the top property makes the element's top edge to move above/below its normal position.
  3. If position="sticky" - the top property behaves like its position is relative when the element is inside the viewport, and like its position is fixed when it is outside.
Type Default
string or array auto

Value examples Description
"auto" Value is a predefined name
"10px" Value in pixels
"10%" Percentage value
"10em" Value in em
"10rem" Value in rem
"10ch" Value in ch
"10ex" Value in ex
"10vh" Value in vh
"10vw" Value in vw
"10vmin" Value in vmin
"10vmax" Value in vmax
["2px", "5px", "10px", "20px", "30px"] Value for diffenent breakpoints (sets in theme/breakpoints)

right

This CSS property affects the horizontal position of a positioned element. This property has no effect on non-positioned elements.

Behavior

  1. If position="absolute" or position="fixed" - the right property sets the right edge of an element to a unit to the right of the right edge of its nearest positioned ancestor,
  2. If position="relative" - the right property sets the right edge of an element to a unit to the left/right of its normal position,
  3. If position="sticky" - the right property behaves like its position is relative when the element is inside the viewport, and like its position is fixed when it is outside.
Type Default
string or array auto

Value examples Description
"auto" Value is a predefined name
"10px" Value in pixels
"10%" Percentage value
"10em" Value in em
"10rem" Value in rem
"10ch" Value in ch
"10ex" Value in ex
"10vh" Value in vh
"10vw" Value in vw
"10vmin" Value in vmin
"10vmax" Value in vmax
["2px", "5px", "10px", "20px", "30px"] Value for diffenent breakpoints (sets in theme/breakpoints)

bottom

This CSS property affects the vertical position of a positioned element. This property has no effect on non-positioned elements.

Behavior

  1. If position="absolute" or position="fixed" - the bottom property sets the bottom edge of an element to a unit above/below the bottom edge of its nearest positioned ancestor,
  2. If position="relative" - the bottom property makes the element's bottom edge to move above/below its normal position.
  3. If position="sticky" - the bottom property behaves like its position is relative when the element is inside the viewport, and like its position is fixed when it is outside.
Type Default
string or array auto

Value examples Description
"auto" Value is a predefined name
"10px" Value in pixels
"10%" Percentage value
"10em" Value in em
"10rem" Value in rem
"10ch" Value in ch
"10ex" Value in ex
"10vh" Value in vh
"10vw" Value in vw
"10vmin" Value in vmin
"10vmax" Value in vmax
["2px", "5px", "10px", "20px", "30px"] Value for diffenent breakpoints (sets in theme/breakpoints)

left

This CSS property affects the horizontal position of a positioned element. This property has no effect on non-positioned elements.

Behavior

  1. If position="absolute" or position="fixed" - the left property sets the left edge of an element to a unit to the left of the left edge of its nearest positioned ancestor,
  2. If position="relative" - the left property sets the left edge of an element to a unit to the left/right of its normal position,
  3. If position="sticky" - the left property behaves like its position is relative when the element is inside the viewport, and like its position is fixed when it is outside.
Type Default
string or array auto

Value examples Description
"auto" Value is a predefined name
"10px" Value in pixels
"10%" Percentage value
"10em" Value in em
"10rem" Value in rem
"10ch" Value in ch
"10ex" Value in ex
"10vh" Value in vh
"10vw" Value in vw
"10vmin" Value in vmin
"10vmax" Value in vmax
["2px", "5px", "10px", "20px", "30px"] Value for diffenent breakpoints (sets in theme/breakpoints)

zIndex

This CSS property specifies the stack order of an element. Works on positioned elements (position="absolute", position="relative", position="fixed", or position="sticky").

Type Default
oneOf(auto, initial, inherit), number or array auto

Value examples Description
"auto" Value is a predefined name
"1" Numeric value
["1", "1", "2", "2", "2"] Value for diffenent breakpoints (sets in theme/breakpoints)