@ramin47Submitted about 2 years ago
I can't add background-image in CSS. Please tell me how to do it.
I can't add background-image in CSS. Please tell me how to do it.
Hi Jake! You're pretty close to solving it! One way you can place your background is to create a div element in place of your current img, position it absolutely to the bottom of the body, and style its width and height to the proper dimensions. Then you can set its background image property to your image using the 'url' function. Also, don't forget to give it a low z-index so it doesn't get in the way of your other elements.