:nth-last-of-type
Structural pseudo-class, E:nth-last-of-type(n) an E element, the n-th sibling of its type, counting from the last one.
Accepts keywords 'odd' and 'even', a single number to target one item, a number followed by n eg. (2n) to target every second item, or a number followed by n+ another number eg. (2n+1) to target every second item starting at item 1.
See also:
:nth-of-type
Structural pseudo-class, E:nth-of-type(n) an E element, the n-th sibling of its type.
Accepts keywords 'odd' and 'even', a single number to target one item, a number followed by n eg. (2n) to target every second item, or a number followed by n+ another number eg. (2n+1) to target every second item starting at item 1.
See also:
:nth-last-child
Structural pseudo-class, E:nth-last-child(n) an E element, the n-th child of its parent, counting from the last one.
Accepts keywords 'odd' and 'even', a single number to target one item, a number followed by n eg. (2n) to target every second item, or a number followed by n+ another number eg. (2n+1) to target every second item starting at item 1.
See also:
:nth-child
Structural pseudo-class, E:nth-child(n) the n-th child of its parent.
Accepts keywords 'odd' and 'even' a single number to target one item, a number followed by n eg. (2n) to target every second item, or a number followed by n+ another number eg. (2n+1) to target every second item starting at item 1.
See also:
