CSS Intro

CSS Intro Quiz

CSS Intro Exercise

CSS Basic

CSS Basic Quiz

CSS Basic Exercise

CSS Advance

CSS Advance Quiz

CSS Advance Exercise


CSS3 Quiz

CSS3 Exercise

CSS Properties

CSS Functions

CSS Selectors

CSS :nth last of type() Selector

CSS :nth-last-of-type() Selector



The :nth-last-of-type(n) selector is used to match every element that is the nth child of a particular type of its parent starting from the last child. We can say that n can be a number, a keyword, or a formula.




Its syntax is:-
:nth-last-of-type(number) {
  css declarations;

Code Explanation

All Tutorials related to CSS Selectors

All Sections related to CSS