on-internet
← Community

CSS - place image behind others

Stack Overflow ·

I have a few images which are loaded on a web page at different intervals, coding for the last 2 images is shown. The last image when loaded comes up above others but I want it to be behind. The images are svg, which have transparent background. Tried using z-index: -1; and other methods but no luck. How can it be done? .testpage .animate .stuff .colour .Part4 img { -moz-transition: -moz-all 0.8s 2s ease-in-out; -o-transition: -o-all 0.8s 2s ease-in-out; -ms-transition: -ms-all 0.8s 2s ease-in-out; -webkit-transition: -webkit-all 0.8s 2s ease-in-out; transition: all 0.8s 2s ease-in-out; } .tes

Comments

Sign in or sign up to comment and upvote.

No comments yet.