What is the code for setting background image in css? | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
+ 1

What is the code for setting background image in css?

1st Sep 2017, 3:45 PM
Stephen
3 Antworten
+ 3
use the background-image property and the url word the syntax is like this: body { background-image: url("image.jpg"); }
1st Sep 2017, 3:52 PM
Damon Keane
+ 1
thank u
1st Sep 2017, 3:53 PM
Stephen
+ 1
@Stephen 😉
1st Sep 2017, 3:54 PM
Damon Keane