Answers for "how to select the last type of an element in html"

0

how to select the last type of an element in html

/* Selects any <p> that is the last element
   of its type among its siblings */
p:last-of-type {
  color: lime;
}
Posted by: Guest on March-04-2022

Code answers related to "how to select the last type of an element in html"

Browse Popular Code Answers by Language