I have a group of article elements, using nth-child the odd ones have their background-colors set to blue and the rest red.
See Here: http://jsfiddle.net/8KFwh/4/
I’m looking to be able to change the background color of all the article elements to white when you hover over just one of them. Furthermore the one that you hover over will change it’s background-color to green, leaving all article elements white except for one.
I know it would be easy to do in JS but I’m interested to know if it’s possible to do in CSS.
Thanks, any help is welcome 🙂
You mean like this? http://jsfiddle.net/mkoistinen/8KFwh/5/