Forums

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

Home Forums CSS Change colour but keeps same styles. Re: Change colour but keeps same styles.

#140504
Kitty Giraudel
Participant

Are you like drunk @Paulie_D? :P

> .flat .red { /* NB comma removed */ }

This won’t work given his markup. This would work if `.red` was child of `.flat`. He seems to want having both classes on the same element.

I think you meant :

.flat.red { … }