Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

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;
}
Source by developer.mozilla.org #
 
PREVIOUS NEXT
Tagged: #select #type #element #html
ADD COMMENT
Topic
Name
1+8 =