css - How to overload a specific layer of CSS3 layered multiple background images -


possible duplicate:
change 1 of multiple backgrounds on hover

if had css declaration this:

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

and on :hover wanted change first layer, e.g.

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

is there way update image image3.png without having redeclare rest of stack?

unfortunately, no, there isn't way that.


Comments

Popular posts from this blog

All overlapping substrings matching a java regex -

c++ - Using OpenSSL in a multi-threaded application -

php - Deleting/Renaming a locked file -