CSS parsing and serializing