Toolinfy
Show Menu
Collections
HTML Essentials
CSS Basics
JavaScript Basics
JQuery Basics
PHP Basics
Tutorials
All
HTML & CSS
JavaScript & Plugins
PHP & MySQL
Photoshop & Gimp
Server, Apache & .htaccess
XML & RSS
SEO
Articles & co.
Best ofs
What I think
Deal Tips
Quick Tips
Walkthroughs
Polls
References
HTML Reference
CSS Reference
JS Cheatscheets
PHP Cheatsheets
List of external references
Downloads
All Downloads
Images & Photoshop Templates
Snippets
Other Downloads
CSS Pseudo-class :last-of-type
This selector allows us to select an element if it's the last child of its type of another element.
Examples
td:last-of-type {border-right:2px solid black;} /*selects last td insed of any element*/ div#example div:last-of-type {overflow:hidden;} /*selects last div inside div#example*/
Compatibility
Chrome
Firefox
Internet Explorer
Opera
Safari
All
All
9+
9.5+
3.2+
Support us
About
Contact
Write for us
Authors
Please enable JavaScript to view the
comments powered by Disqus.