Home › Forums › CSS › Change colour but keeps same styles. › Re: Change colour but keeps same styles.
June 26, 2013 at 10:27 am
#140529
Participant
so if I have it like this
.flat.red {
background: #bf3f3f;
}
.flat.pink {
background: #bf3fb4;
}
.flat.purple {
background: #963fbf;
}
.flat.blue {
background: #3f3fbf;
}
is there a way so I only have .flat in once and then it applys to the rest so it is not too much repeating