From the course: CSS: Selectors
Unlock the full course today
Join today to access over 24,900 courses taught by industry experts.
CSS selectors and browser support - CSS Tutorial
From the course: CSS: Selectors
CSS selectors and browser support
- [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 except for Internet Explorer 6 and since…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.