+ 1
Send image to background
how do i send an image to the background? or how do i send an image behind text?
6 Antworten
+ 3
use z-index in css (style)
ex
<img src="#">
<p> image</p>
in css
img{
z-index:1;
}
p{
z-index:2;
}
+ 2
If you want to set the image as background, use:
<body background="image-png">
---
</body>
<!--Notice that it's "background" for an image, and "bgcolor" to set a color-->
+ 1
Thank you😆
+ 1
thanks, I really appreciate your help
+ 1
this is a webcode about sending a video to the background using the method suggested by @Mr Programmer
https://code.sololearn.com/WrBG0rrlpUN9/?ref=app
+ 1
thank you very much😊