I was looking at different websites, trying to catch some CSS techniques with the help of firefox plugin firebug.
I have been changing the design of links with the use of tag selector a and pseudo class :hover and thought that it was all there is until I saw this site which uses class selector to change :hover design.
How did they do that or is there something that I just missed?
I tried looking at different books and sites but can't find the answer, may you can help me.
I have been changing the design of links with the use of tag selector a and pseudo class :hover and thought that it was all there is until I saw this site which uses class selector to change :hover design.
Code:
HTML
<a href="test.html" class="menuitem">test site</a>
----------------------------------------------------------------------------------
CSS
.menuitem{
color:#aaaaaa;
}
.menuitem_over{
color:#000000;
}
I tried looking at different books and sites but can't find the answer, may you can help me.