How to position this image over the background?

March 19th 20 at 08:55
3 answers
March 19th 20 at 08:57
Solution
div {
 background-color: rgba(255, 0, 0, 0.5);
}

img {
 position: relative;
 z-index: -1;
}
Exactly. Thank you. - Elinore.Vandervort commented on March 19th 20 at 09:00
March 19th 20 at 08:59
March 19th 20 at 09:01
img {z-index : 0}

Find more questions by tags HTMLCSS