How to add background-image in css | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 2

How to add background-image in css

Plz tell me how to add

23rd Dec 2020, 2:28 AM
MD Sagor Ahmed
MD Sagor Ahmed - avatar
5 Answers
+ 4
Usman Muhammed post here only your programming related queries , this place is not for advertising👍
23rd Dec 2020, 1:56 PM
ÃKR
ÃKR - avatar
+ 3
md saif Don't spam. You may get ban.
23rd Dec 2020, 6:18 PM
A͢J
A͢J - avatar
0
Hello, You can use the background-image property of CSS. Example: background-image: url("../../media/examples/demo.png"); Refer to the following site for more detail: https://www.w3schools.com/cssref/pr_background-image.asp
23rd Dec 2020, 3:45 AM
AjayGohil
23rd Dec 2020, 5:43 PM
Dino Wun (Use the search bar plz!)
Dino Wun (Use the search bar plz!) - avatar