For instance:
.strong {
font-weight: bold;
}
.italicized {
font-style: italic;
}
.strong_and_italicized {
.strong;
.italicized;
}
I ask because I’m working on some jquery that is manipulating some DOM objects that have been assigned multiple different classes from the jquery ui theme css file. It seems to me it would be much easier to combine the multiple classes into one class and then I could just refer to that class in the javascript code when trying to select the DOM object.
The only way to combine CSS classes into one like that, that I know of, is to use a CSS pre-processor like LESS or SASS.
If you don’t want to use that, I’m afraid you have to assign both classes separately.