Use a Class or Use an ID
The answer is not all that complex, but I’m slow. Plus, I’m a teacher so people expect me to give them the right answer, so I have to stay up late at night tossing and turning trying to get it right. With this video, “When should I use a Class or an Id in CSS,” you can figure out what it took me years to figure out.
You’ll see, check it out. I tell people, “Each one does actually have it’s proper place, but It’s your Kitchen. Put the pans where you want to, put the forks where you think they should go.”
So to real answer to the question, “When should I use a Class or an Id in CSS,” is, “It’s your Kitchen.” Of course, follow the standard kitchen rules. No picking your nose in the kitchen.
See the video, “When Should I Use a Class or an Id in CSS.”