2 ms·
Non-semantic classes are totally fine: http://nicolasgallagher.com/about-html-semantics-front-end-architecture/ http://nicolasgallagher.com/about-html-semantics
by mrzool 12y ago
Non-semantic classes are totally fine: http://nicolasgallagher.com/about-html-semantics-front-end-architecture/ http://nicolasgallagher.com/about-html-semantics-front-end-a...
- Content-layer semantics are already served by HTML elements and other attributes.
- Class names impart little or no useful semantic information to machines or human visitors.
- The primary purpose of a class name is to be a hook for CSS and JavaScript.
- Class names should communicate useful information to developers.