Home › Forums › CSS › Change colour but keeps same styles. › Re: Change colour but keeps same styles.
June 26, 2013 at 9:56 am
#140511
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.