Convert CSS stylesheet from text or a file into a list object

read_css(stylesheet)

Arguments

stylesheet

CSS stylsheet. Either as a character string containing the CSS, or a path to a file containing CSS text

Value

named list of lists, where the top-level name is the CSS selector, and the value is a list of property/value pairs for this selector (i.s. a CSS declaration block)