Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

css nth of type

/* Selects every fourth <p> element
   among any group of siblings */
p:nth-of-type(4n) {
  color: lime;
}
 
PREVIOUS NEXT
Tagged: #css #nth #type
ADD COMMENT
Topic
Name
3+8 =