Get the latest tech news
Decorative Text Within HTML
Back in 2020, Andy Bell introduced me to the idea of grouping attribute values. You've probably seen something like this before: HTML<article class="card-section-background1-colorRed" ></article> A single class over-encumbered by all sorts of things. The more modular way to write this would be: HTML<article class="card section box bg-base color-primary" ></article> That's pretty…
A set of space-separated tokens is a string containing zero or more words (known as tokens) separated by one or more ASCII whitespace, where words consist of any string of one or more characters, none of which are ASCII whitespace. But I wouldn't recommend it; you would need to change your CSS to target those particular values. I'd suggesting using underscore spacing to keep things readable and avoid having words which are accidentally class names.
Or read this on Hacker News