4 ms·
Agreed with your overall point that HTML tags should not be misappropriated. This can be a challenge for purely classless CSS because a style can correspond to
by divbzero 6y ago
Agreed with your overall point that HTML tags should not be misappropriated.
This can be a challenge for purely classless CSS because a style can correspond to different semantics in different scenarios. For example, the cards as used in Basic.css [1] are semantically <section>s. But in a different context, cards could be used for an <aside> [2] or for a social media post which would indeed be an <article> [3].
[1]: https://vladocar.github.io/Basic.css/ https://vladocar.github.io/Basic.css/
[2]: https://getbootstrap.com/docs/4.5/components/card/ https://getbootstrap.com/docs/4.5/components/card/
[3]: https://html.spec.whatwg.org/multipage/sections.html#article-or-section https://html.spec.whatwg.org/multipage/sections.html#article...