<div class="col col-6 sm-col-4 md-col-3 lg-col-2 px2 mb3">...
Another example of something that's tiny and super fast for prototyping but produces code bloat and non-semantic classes. Looks great otherwise. No SASS version?
Another example of something that's tiny and super fast for prototyping but produces code bloat and non-semantic classes. Looks great otherwise. No SASS version?
- 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.
This is what has started putting me off Bootstrap. Container -> Row -> Column - feels like table based design all over again and my HTML is no longer semantic.