How to connect bg image with the help of css code in vscode | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to connect bg image with the help of css code in vscode

I use the bg but didn't get answer. Pls help me

20th Jan 2023, 10:19 PM
Atul Soni
Atul Soni - avatar
1 Answer
+ 2
Place the background image in the same folder as your html file. Afterwards use the following syntax; element { background-image: url('name.png'); }
20th Jan 2023, 11:56 PM
Lamron
Lamron - avatar