Jump to content

How Do Classes For A:hover/active Etc. Work?


GPSJane
 Share

Recommended Posts

I am wondering; if A:hover is a pseudo class then how do you set a class for the pseudo class?For instance, I want links in the Nav bar to turn orange when the user hovers but I want links in the footer to remain the same on hover. Ie. 2 separate classes or id's.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...