My question is why you cant just name the card and then use selectors to style the title or any other internal styling?
This removes the need to name at all. It can just be .card > h2 or whatever and there you would do your font-weight and color.
This removes the need to name at all. It can just be .card > h2 or whatever and there you would do your font-weight and color.
I don't even need to move over to my css file at all - I stay within my template and stay within my flow.
It seems crazy and counter-intuitive at first, but I find that it makes me a lot more productive.
I have been paralyzed by trying to do things the semantic way before too though. And now no one cares according the markup I venture to look at now and then.
Some editors like Brackets allows you to edit other files online and handles css specially so you can edit it just by hovering over class names, etc.