Expand description
CSS properties for border style, width, and color.
Structs§
- Layout
Border Bottom Width - Layout
Border Left Width - Layout
Border Right Width - Layout
Border TopWidth - Style
Border Bottom Color - Style
Border Bottom Style - Style
Border Colors - Parsed result of
border-colorshorthand (1-4 color values) - Style
Border Left Color - Style
Border Left Style - Style
Border Right Color - Style
Border Right Style - Style
Border Side - Represents the three components of a border shorthand property, used as an intermediate representation during parsing.
- Style
Border Styles - Parsed result of
border-styleshorthand (1-4 style values) - Style
Border TopColor - Style
Border TopStyle - Style
Border Widths - Parsed result of
border-widthshorthand (1-4 width values)
Enums§
- Border
Style - Style of a
border: solid, double, dash, ridge, etc. - CssBorder
Side Parse Error - CssBorder
Side Parse Error Owned - CssBorder
Style Parse Error - CssBorder
Style Parse Error Owned
Functions§
- parse_
border_ bottom_ color - parse_
border_ bottom_ style - parse_
border_ bottom_ width - parse_
border_ left_ color - parse_
border_ left_ style - parse_
border_ left_ width - parse_
border_ right_ color - parse_
border_ right_ style - parse_
border_ right_ width - parse_
border_ side - Parses a border shorthand property such as “1px solid red”. Handles any order of components and applies defaults for missing values.
- parse_
border_ style - parse_
border_ top_ color - parse_
border_ top_ style - parse_
border_ top_ width - parse_
style_ border - parse_
style_ border_ color - Parses
border-colorshorthand: 1-4 color values - parse_
style_ border_ style - Parses
border-styleshorthand: 1-4 style values - parse_
style_ border_ width - Parses
border-widthshorthand: 1-4 width values