The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Other Breaking styles into individual components Reply To: Breaking styles into individual components


It’s cool if this method works for you, but it seems like a lot of extra work… plus your html files will be heavier.

Also, what would happen if you wanted to target a specific set of divs (like a group of project cards in a portfolio)? You would have to give that set its own class right? If that’s the case, why not just add the rest of the styling to that class, instead of tacking on all those extra classes?

I do see the value of having something like a font color class be separate… but like Paulie_D wrote, it would be better to use non-specific names for those (so like: text-clr-def, or text-clr-link).