From the course: Advanced CSS Media Queries

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Solution

Solution - CSS Tutorial

From the course: Advanced CSS Media Queries

Start my 1-month free trial

Solution

(upbeat music) - So how'd you deal with those challenges? Hopefully you found those fun and interesting, and I hope that you were able to find a way to do this without having to throw in a class on every one of the individual oils in each of those articles. You actually didn't really need to do that. If you are a Wiz with CSS selectors, and if you need to touch up on those CSS selector skills, I do have a course on that in the library, you should check it out. So for part one, for the solution, if the device is a laptop, present the oils in the opposite order from their current display. In other words, go Basil, Chili, Lemon, Delicate, whereas before it was in the opposite order. So I did that by going back to the article that I mentioned in an earlier video, this is the article that talks about how to use various types of media queries to detect certain kinds of devices. And I scrolled on down here to the portion of…

Contents