Tuesday, 29 September 2015

How do I properly select an element using classes?

I have a menu with the id "accordion" and want the text links to change color when hovered and expanded. This is what my script in CSS looks like for this:

 #accordion div.current, #accordion div:hover, #accordion a.link:hover, #accordion div.current a.link { color:#eee; text-decoration:none; } 

Only it's not working right and I think it's because of how I'm calling the elements. I'm really struggling with calling elements properly and a lot of the information I read online isn't really helping to clarify things for me. Advice?



Epic visual tool

Epson 5030UB 2D/3D 1080p 3LCD Projector Submitted September 29, 2015 at 08:12PM by cookieleigh02 http://ift.tt/1KJ7cHX

No comments:

Post a Comment