I'm trying to change the background image/gradient of the body while hovering on a div (id="above"), I follow the way they do in another post (http://stackoverflow.com/questions/1462360/css-hover-one-element-effect-for-multiple-elements) but it doesn't seems to work
css
body {
background: -webkit-gradient(radial, ...);
}
.about:hover body{
background: -webkit-gradient(radial, ...); // new gradient
}
html
<body>
<div class="about">
<h1 id="title">About</h1>
<div>
<p id="about">stuff</p>
</div>
</div>
</body>
This has no effect, I even try to test if this works by changing the title style to italic while hovering, still no use
.about:hover h1.title {
font-weight: italic;
}
Is that the way I use it is wrong or there is something else, anyone can help?