As always, much older browsers don't support all of the selectors presented in this course. In this video, use the CanIUse.com website to identify any selectors that may not be supported by your browser choices.
- [Instructor] Generally speaking, … the selectors I've discussed in this course … are well supported by all modern browsers. … But what if you need to support an older browser? … First of all, you have to determine whether the selector … you want to use is in fact supported … by the browsers that you need to support. … And if you're wondering about that, … caniuse.com is a great resource for … determining what is supported where. … As you see on this page, right in the center of the box, … at the fine flashing cursor, … all you need to do is type in what you're looking for. … So if I try the universal selector, for example, … this is going to pull up the match to that … and then this is, happens to be a CSS 2.1 selector, … so a whole bunch of stuff here like first-child, … link, visited, active, hover, focus. … Bunch of stuff we talked about, … the attribute selectors are all covered under CSS 2.1 … and as you see here across the board, … they are well supported by all of the browsers …
Author
Released
5/2/2019- Targeting classes and IDs
- Working with group selectors
- Targeting element attributes
- Targeting links with pseudo-class selectors
- Targeting child elements and empty elements
- Targeting parent, child, and sibling elements
- Best practices for CSS
- The impact of CSS selectors on performance
Skill Level Intermediate
Duration
Views
Related Courses
-
HTML & CSS: Creating Forms
with Clarissa Peterson2h 30m Beginner -
Introduction to CSS
with Carrie Dils1h 58m Beginner
-
Introduction
-
The power of selectors1m 8s
-
-
1. Review of Basic CSS
-
CSS terminology2m 58s
-
Groups of selectors1m 52s
-
Compound selectors3m 19s
-
-
2. Combinator Selectors
-
Descendant selectors3m 36s
-
Parent-child selectors3m 51s
-
3. Attribute Selectors
-
Simple attribute selectors2m 47s
-
-
4. Pseudo-Classes, Pseudo-Elements, and the Universal Selector
-
Understanding :not2m 53s
-
:root and :empty4m 27s
-
5. Choosing Selectors
-
Conclusion
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.
CancelTake notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.
Share this video
Embed this video
Video: CSS selectors and browser support