Set the color of the logical block borders of an element, which maps to a physical border color depending on the element's writing mode, directionality, and text orientation.
Set the color of the logical block-end border of an element, which maps to a physical border color depending on the element's writing mode, directionality, and text orientation.
Set the color of the logical block-start border of an element, which maps to a physical border color depending on the element's writing mode, directionality, and text orientation.
Set color of the logical inline borders of an element, which maps to a physical border color depending on the element's writing mode, directionality, and text orientation.
Set the color of the logical inline-end border of an element, which maps to a physical border color depending on the element's writing mode, directionality, and text orientation.
Set the color of the logical inline start border of an element, which maps to a physical border color depending on the element's writing mode, directionality, and text orientation.
Set border radius of an element's side e.g. bottom-left corner.
borderBottomLeftRadius
string
'border.radius'
Set border radius of an element's bottom-left corner.
borderBottomRightRadius
string
'border.radius'
Set border radius of an element's bottom-right corner.
borderTopLeftRadius
string
'border.radius'
Set border radius of an element's top-left corner.
borderTopRightRadius
string
'border.radius'
Set border radius of an element's top-right corner.
borderEndEndRadius
string
'border.radius'
Set a logical border radius on an element, which maps to a physical border radius that depends on the element's writing-mode, direction, and text-orientation.
borderEndStartRadius
string
'border.radius'
Set a logical border radius on an element, which maps to a physical border radius depending on the element's writing-mode, direction, and text-orientation.
borderStartEndRadius
string
'border.radius'
Set a logical border radius on an element, which maps to a physical border radius depending on the element's writing-mode, direction, and text-orientation.
borderStartStartRadius
string
'border.radius'
Set a logical border radius on an element, which maps to a physical border radius that depends on the element's writing-mode, direction, and text-orientation.
Border width
Name
Type
Allowed values
Description
borderWidth
string
'border.width'
Set the width of an element's border.
borderBlockWidth
string
'border.width'
Set the width of the logical block borders of an element, which maps to a physical border width depending on the element's writing mode, directionality, and text orientation.
borderBlockEndWidth
string
'border.width'
Set the width of the logical block-end border of an element, which maps to a physical border width depending on the element's writing mode, directionality, and text orientation.
borderBlockStartWidth
string
'border.width'
Set the width of the logical block-start border of an element, which maps to a physical border width depending on the element's writing mode, directionality, and text orientation.
borderBottomWidth
string
'border.width'
Set the width of the bottom border of an element.
borderInlineWidth
string
'border.width'
Set the width of the logical inline borders of an element, which maps to a physical border width depending on the element's writing mode, directionality, and text orientation.
borderInlineEndWidth
string
'border.width'
Set the width of the logical inline-end border of an element, which maps to a physical border width depending on the element's writing mode, directionality, and text orientation.
borderInlineStartWidth
string
'border.width'
Set the width of the logical inline-start border of an element, which maps to a physical border width depending on the element's writing mode, directionality, and text orientation.
borderLeftWidth
string
'border.width'
Set the width of the left border of an element.
borderRightWidth
string
'border.width'
Set the width of the right border of an element.
borderTopWidth
string
'border.width'
Set the width of the top border of an element.
Border style
Name
Type
Allowed values
Description
borderTopStyle
string
'dotted' | 'dashed' | 'solid' | 'none' | 'hidden'
Set the line style of an element's top border.
borderBottomStyle
string
'dotted' | 'dashed' | 'solid' | 'none' | 'hidden'
Set the line style of an element's bottom border.
borderRightStyle
string
'dotted' | 'dashed' | 'solid' | 'none' | 'hidden'
Set the line style of an element's right border.
borderLeftStyle
string
'dotted' | 'dashed' | 'solid' | 'none' | 'hidden'
Set the line style of an element's left border.
borderStyle
string
'dotted' | 'dashed' | 'solid' | 'none' | 'hidden'
Set the line style for all four sides of an element's border.
Color
The colour related properties are used to style and enhance the text and background colours of the elements.
Learn about applying the right
color tokens by understanding color roles
and referring to accessibility guidelines.
Set the logical block start and end margins of an element, which maps to physical margins depending on the element's writing mode, directionality, and text orientation.
Set the logical block end margin of an element, which maps to a physical margin depending on the element's writing mode, directionality, and text orientation.
Set the logical block start margin of an element, which maps to a physical margin depending on the element's writing mode, directionality, and text orientation.
Set both the logical inline start and end margins of an element, which maps to physical margins depending on the element's writing mode, directionality, and text orientation.
Set the logical inline end margin of an element, which maps to a physical margin depending on the element's writing mode, directionality, and text orientation.
Set the logical inline start margin of an element, which maps to a physical margin depending on the element's writing mode, directionality, and text orientation.
Set the logical block start and end padding of an element, which maps to physical padding properties depending on the element's writing mode, directionality, and text orientation.
Set the logical block end padding of an element, which maps to a physical padding depending on the element's writing mode, directionality, and text orientation.
Set the logical block start padding of an element, which maps to a physical padding depending on the element's writing mode, directionality, and text orientation.
Set the logical inline start and end padding of an element, which maps to physical padding properties depending on the element's writing mode, directionality, and text orientation.
Set the logical inline end padding of an element, which maps to a physical padding depending on the element's writing mode, directionality, and text orientation.
Set the logical inline start padding of an element, which maps to a physical padding depending on the element's writing mode, directionality, and text orientation.