When i use this script it ends up with the red one because that is the last one in line.
So somehow I need to add z-index:+1 ?
jsfiddle.net/fourroses666/MCDw7
Anyone who can help me with this?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
This is not an answer to your question, but might be the solution you are seeking. So if you want continous fading of images. You should have two images, the background one having its opacity set to 1, the foreground one fading from 0 to 1. After it reached 1, you place the foreground image to the background, and add a new image into the foreground with opacity 0…
Here is it on JSFiddle
JS Code:
HTML Code:
CSS Code: