1

Possible Duplicate:
Change only one of multiple backgrounds on hover

If you had a CSS declaration like this:

.selector {
    background: url(image.png), url(image2.png);
}

and on :hover you wanted to change just the first layer, e.g.

.selector:hover {
    background: url(image3.png), url(image2.png);
}

Is there a way to update the image to image3.png without having to redeclare the rest of the stack?

Community
  • 1
  • 1
voncox
  • 1,191
  • 7
  • 13

1 Answers1

2

Unfortunately, no, there isn't any way to do that.

Ana
  • 35,599
  • 6
  • 80
  • 131