All the web developers know the CSS format, but do they really know all the subtleties of its syntax? tinycss2 provides a CSS parser that is able to extract everything you want from stylesheets.