style two classes same css code example
Example 1: css multiple classes same rule
.bucket1, .bucket2, .bucket3 {
}
.bucket4, .bucket5, .bucket6 {
}
Example 2: css change multiple classes
.objectOne, .objectTwo { /* We will now both be changed */
margin: 0 auto;
}
Example 3: relate a style in two class
.abc, .xyz {
margin-left: 20px;
}