parseCssBorder parses the CSS combined border declarations (i.e. border, border-left, border-right, border-top, border-bottom) and returns a list containing the width, style and color as separate elements.

parseCssBorder(text)

Arguments

text

The border declaration to parse.

Value

A list containing three elements: width, style and color.