×
Jan 4, 2021 · So What Are Presentational Classes? It's when you use classes in your markup for the sole purpose of EXPLICTLY saying a style.
Jan 22, 2013 · Presentational classes, when used appropriately, can be a great assets to any web developer's tool belt. They allow for style reuse across any ...
People also ask
... tug towards something more “semantic” than presentational classes. Perhaps we feel all those divs and classes are somehow polluting our markup.
Mar 20, 2016 · A common issue I've encountered is developers using presentational classes in their markup. A presentational class is any CSS class that is used ...
Sep 13, 2022 · Avoid elements with no native semantics (div, span) in multi-part selectors. ... of presentational classes that represent visual semantics.
Feb 9, 2013 · I believe presentational classes have a place, but it is not in our HTML. This a topic I'd like to write more about as well.
Semantic and Presentational classes · Presentational: purely visual. A presentational class will carry no meaning other then to describe the visual being applied ...
Aug 2, 2012 · So, what's so bad about presentational classes? The whole point about HTML is to say what the content is and what it does.
Jun 8, 2018 · If you're using presentational classes like card or form__submit--disabled , then they probably aren't. If your classes ARE semantic, ...