style multiple classes in css code example
Example 1: css change multiple classes
.objectOne, .objectTwo { /* We will now both be changed */
margin: 0 auto;
}
Example 2: css multiple classes
<div class="a-class another-class"></div>
.objectOne, .objectTwo { /* We will now both be changed */
margin: 0 auto;
}
<div class="a-class another-class"></div>