Only match valid CSS (#10)

Invalid CSS should be ignored