Not (: CSS Last-of-Type)

li {
  color: goldenrod;
}

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