GabLeRoux
GabLeRoux

Reputation: 17933

Positioning background image hover another image with css, z-index?

I've made this jsfiddle to exactly illustrate what I want to accomplish. Basically I want to make a background image show hover another using css. I tried z-index but it doesn't work. I tried inserting the top image using img tag, but it's not a very good idea as it's part of the design and not an element of the page.

Note: I don't want the image to hide the text too ;)

Upvotes: 1

Views: 506

Answers (1)

user1512616
user1512616

Reputation: 509

Won't this work?

http://jsfiddle.net/SzGe8/6/

You need to place footer-top-image inside the footer.

Upvotes: 2

Related Questions