Skip navigation

First things first and last things last

First things first and last things last: CSS Shorts Weekly
First things first and last things last: CSS Shorts Weekly

What we’re talking about is first-of-type and last-of-type selectors in CSS. These structural selectors do exactly what they say—they allow us to select and style specific instances of elements within a parent. This is a great technique for styling the beginning and ending a string of items, such as links. The cool thing about this type of selector is that if another element type is in the same parent, this has no effect on this selector because it is based on the element’s type.

Resume Transcript Auto-Scroll
Skill Level Intermediate
5h 29m
Duration
98,228
Views
Show More Show Less

Q: Why can't I earn a Certificate of Completion for this course?

A: We publish a new tutorial or tutorials for this course on a regular basis. We are unable to offer a Certificate of Completion because it is an ever-evolving course that is not designed to be completed. Check back often for new movies.

Skills covered in this course
Web Web Development CSS

Continue Assessment

You started this assessment previously and didn't complete it. You can pick up where you left off, or start over.

Start Your Free Trial Now

Start your free trial now, and begin learning software, business and creative skills—anytime, anywhere—with video instruction from recognized industry experts.

Start Your Free Trial Now