CodeProject.TV will close July 31. Remember to ensure you’ve watched or download your videos! Full details here.

HTML5: Pseudoclasses Part 1

7m 49s
Lno80x80white

LearnNowOnline

LearnNowOnline is an award-winning technical learning company nationally recognized for providing in-depth, real-world content to developers, IT professionals and computer... Read more

Learn about pseudoclasses in HTML5 and CSS3 and how to use these classes to style text on a web page. Watch a demonstration implementing these pseudoclasses. Part 1 of 2.

A pseudoclass in CSS is a way to select elements based on information that lies outside the document or information that can't be expressed using normal selectors. CSS3 has several new pseudoclasses that make locating elements much easier. In this lesson part you will learn how to use psudeoclasses to apply CSS rules to specific elements by using formulas.

The rules covered in this lesson part are nth-of-type(), nth-child(), last-child, and nth-last-child().