css element with two classes code example
Example 1: css multiple classes
//HTML Code
<div class = 'firstClass secondClass'></div>
//CSS Code
.firstClass.secondClass {
}
Example 2: css two classes together
.foo.bar {
/* Styles for element(s) with foo AND bar classes */
}
Example 3: css multiple classes
<div class="a-class another-class"></div>