New course! Every coder should learn Generative AI!
Try a free lesson0
Please how do i use image as my background
4 Answers
+ 12
HTML :
<div class="example-div">Some text</div>
CSS :
. example-div {
background-image: url("url_here");
}
(I believe this was explained in the CSS course ๐)
+ 9
Minerals2016 ๐๐๐ thanks! Edited it ๐ฏ๐
+ 3
Chee-Oma background-image*
(U made a slight mistake spelling background, we don't want syntax errors ๐
๐
๐คฆ)
0
The code is not working