Pattern:
:last-of-type
Definition:
The :last-of-type pseudo-class matches the last child of its type in its parent element.
Examples:
Style the last <ul> element of its parent element
ul:last-of-type { border-left: 1px solid yellow; }
Pattern:
:last-of-type
Definition:
The :last-of-type pseudo-class matches the last child of its type in its parent element.
Examples:
Style the last <ul> element of its parent element
ul:last-of-type { border-left: 1px solid yellow; }
Designed by : w10schools
service@w10schools.com
Our Partners: aeeble – Providing content publishing and search solutions
Please login to continue.