concept
CSS syntax error recovery
Browsers recover from many CSS errors instead of abandoning the complete file. An unsupported property or invalid literal value commonly loses only that declaration. Missing delimiters and invalid selectors can have wider effects; computed-value-time invalidity is a separate mechanism.
Formal Syntax & Structure
css syntaxcss
p { color: invalid-color; font-size: 20px; }Working Example
Example Snippetcss
<!doctype html><html lang="en"><head><meta charset="utf-8"><title>CSS reference demo</title><style>#sample { color: #184168; color: invalid-color; font-size: 20px; }</style></head><body><p id="sample">A field note from the coast.</p></body></html>