DEV Community

Discussion on: Let's build a Perfect CSS Framework

Collapse
 
marvelouswololo profile image
MarvelousWololo

what you mean by web designers here? and what is "reference to the semantics of the document content as captured by the html markup"? are you okay man?

Thread Thread
 
alohci profile image
Nicholas Stimpson • Edited

By web designers, I mean those people who are generally responsible to the look, feel and wider UX of a web site, as opposed to content authors. HTML is a semantic mark up language. The mark-up is there to indicate the meaning of the content. In particular, ids and classes are part of HTML rather than part of CSS, and therefore their values should be chosen to describe the content's semantics. The true purpose of selectors is to provide the binding between the HTML's semantics and the CSS's styling.