selectorA, selectorB[, selectorC[, selector...] {
    /* Style declarations shared by multiple selectors */
}
h1 {
    font-family: serif;
    color: red;
}
h2 {
    font-family: serif;
    color: red;
}
h3 {
    font-family: serif;
    color: red;
}

/* Equivalent to the following grouped declaration */

h1, h2, h3 { /* Share the same styles across the h1, h2, and h3 selectors */
    font-family: serif;
    color: red;
}
...class {
    font-family: serif;
    color: red;
}
/* There is no class selector that begins with ...
    It is incorrectly written; it should be .class. */
h1, ...class , h2, h3 {
    font-family: serif;
    color: red;
}
/* Because the selector (...class) in the multiple-selector list is invalid,
   the entire style rule, including the declarations for h1, h2, and h3, is ignored. */
/* On a single line */
h1, h2, h3 {
    font-family: serif;
    color: red;
}

/* Across multiple lines */
h1,
h2,
h3 {
    font-family: serif;
    color: red;
}
/* When writing the list on a single line,
   whitespace before and after the commas is optional,
   but adding whitespace is recommended for readability. */
   
h1,h2,h3 { /* Not recommended */
    font-family: serif;
    color: red;
}
h1, h2, h3 { /* Recommended */
    font-family: serif;
    color: red;
}
/* On a single line */
h1, h2, h3, {
    font-family: serif;
    color: red;
}

/* Across multiple lines */
h1,
h2,
h3, {
    font-family: serif;
    color: red;
}

/* A comma after the last selector (h3) makes the entire
   selector list invalid, causing the entire style rule
   to be ignored, including the h1, h2, and h3 selectors. */