Class CSSBorderValue

Represents a CSS border value like the one used in border properties.

Syntax

[<length>] <identifier> <color>

Examples

--border: 1px solid black;
--border: 4px dotted #CCC;
Hierarchy
Index
Constructors

constructor

Properties

color

color: CSSColorValue

lineStyle

lineStyle: CSSKeywordValue

lineWidth

lineWidth: CSSUnitValue | CSSKeywordValue
Static

lineStyleKeywords

lineStyleKeywords: string[] = ['none','hidden','dotted','dashed','solid','double','groove','ridge','inset','outset',]
Static

lineWidthKeywords

lineWidthKeywords: string[] = [ 'thin', 'medium', 'thick' ]
Methods

toString

  • toString(): string