Forums

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

Home Forums CSS CSS styling which way is better Reply To: CSS styling which way is better

#236220
Paulie_D
Member

If the color of white is a part of a color scheme then it does, perhaps make sense to use a separate class.

BUT it’s the name of the class that’s important…it has to be meaningful and descriptive at the same time without being overspecific.

So

.brand_color-light {
color: white;
}

.brand_color-alert {
color: red;
}

.brand_color-success {
color: green;
}

would, perhaps be better practice.