What kind of language is CSS?

Derek Adair picture Derek Adair · Apr 19, 2010 · Viewed 19.5k times · Source

What kind of language is CSS?

My first inclination was to call it a markup language... but it doesn't really fit the mold:

A markup language is a system for annotating a text in a way which is syntactically distinguishable from that text. -wikipedia

CSS uses various selectors to apply properties to elements within HTML, a markup language

Answer

Nick Van Brunt picture Nick Van Brunt · Apr 19, 2010

I would say it is a domain-specific declarative language.