Styling link states


show more Styling link states provides you with in-depth training on Developer. Taught by James Williamson as part of the CSS: Styling Navigation show less
please wait ...

Styling link states

Having your links respond to user interaction is an important part of site navigation. In CSS, we use pseudo-class selectors to style the various states of links. Let's go ahead and explore each one of those, and I'm going talk about some of the things that we need to keep in mind while we're using those various links states. So in this particular exercise, I've opened up the states.htm from the 02_03 directory, and I just want to show you some of the page structure here before we begin working on this. If I scroll down into the actual HTML code, I can see that I have a list of links on the page.

The very first link has an ID of anchor but no href attribute. All the rest of them do have an href attribute, but the first three go to visit.htm and the second two just kind go nowhere to the little period link there. Now each of these is going to help me illustrate these different various link states. If I go ahead and open up this page in a browser, you can kind of see what's happ...

Styling link states
Video duration: 10m 57s 5h 14m Beginner

Viewers:

Styling link states provides you with in-depth training on Developer. Taught by James Williamson as part of the CSS: Styling Navigation

Subjects:
Developer Web
Software:
CSS
Author:
please wait ...