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.

#140511
Paulie_D
Member

Here’s a quick example to show you the difference a space can make.

http://codepen.io/Paulie-D/pen/mhdCD

As you can see `.flat .red` (with space) means it has both classes, `.flat.red` actually works as an entirely **new** class and overrides the first option.