Nicht (: Last-of-Typ CSS)

li {
  color: goldenrod;
}

li:not(:last-of-type) {
  color: lightgrey;
}
Adonis D Martin