This content has been marked as final.
Show 2 replies
-
1. Re: Is .class-active:hover good css?
MurraySummers Oct 27, 2010 7:31 AM (in response to TCarp)I understand what .item1 and .item1:hover are but I've can't find any tutorial that shows something like .item1-active and .item1-active:hover.
Is this legit css and if so what does it mean?
Yes, it's legit.
.item1-active would refer to an item with that as a class assignment -
<a class="item1-active" href="whatever.html">
.item1-active:hover would refer to the hover state of that same item.
-
2. Re: Is .class-active:hover good css?
TCarp Oct 27, 2010 8:40 AM (in response to MurraySummers)Thanks
So what I'm hearing is the code is referring to two classes: .item1 and .item1-active. What confused me then was I found no class .item1-active anywhere in the html.
Again, thanks.
Tom


