Remove invalid CSS declarations.