• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 208
  • Last Modified:

add on hover color to a div with CSS

Hi experts,

I saw this example:

http://jsfiddle.net/jaSs8/1/

How do I add on hover to these gray divs?  

So when I hover over one of them I want the gray color to turn red?
0
maqskywalker
Asked:
maqskywalker
1 Solution
 
Paul MacDonaldDirector, Information SystemsCommented:
One way:

.item div:hover {
    background-color: #f00;
}
0

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

Tackle projects and never again get stuck behind a technical roadblock.
Join Now