From the course: CSS Shorts

Unlock this course with a free trial

Join today to access over 22,600 courses taught by industry experts.

Visiting the visited link

Visiting the visited link - CSS Tutorial

From the course: CSS Shorts

Visiting the visited link

- [Instructor] Hi, this is Chris Converse, and in this episode, we'll be helping our users determine which links they've already visited by making use of the visited pseudo-class in CSS. Now, using CSS, we can alter some properties of the links that go to destinations that match the user's browsing history. But for privacy reasons, browsers will limit the properties that we can apply using the visited pseudo-class. So we'll make the most of what's available to us. Now if you'd like to follow along with me, you can download the exercise files, and we'll start by opening the index.html file in a text editor. Now, with this html page open, we have a very simple layout here, and we're going to be focusing on this unordered list, where I simply have the list of links to different courses that we have here in the library. And if you'd like to preview the way this page looks, you can open this index.html file up in a browser, and you'll see a layout that looks something like this. So, here's…

Contents