With the pic below, what would be the best way to write the font color as the boxes have either light or dark font so I can’t just apply it to one class.
It was more of a general question but I’ve added a link.
each box has two classes of class=" Johndoe box"
I have a white and black font color. Of course I can just apply it to each .johndoe .mary etc but wondering if there’s a better way. (Want to avoid bad habits)