How to add pictures | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to add pictures

I’m making a website code I was just wondering how to put a full sized background image. If anyone knows please comment back with the line of code on how to do it. 😊 Also keep in mind I’m on iPhone.

8th Jun 2019, 12:26 PM
BMX Patrol
BMX Patrol - avatar
6 Answers
+ 2
To make it full size, you have to use: body { background: url("source"); background-size: cover; }
8th Jun 2019, 12:31 PM
Airree
Airree - avatar
+ 2
yes, but make sure to have an image's link, not a website's
8th Jun 2019, 12:36 PM
Airree
Airree - avatar
+ 1
thank you so much have a good day
8th Jun 2019, 12:32 PM
BMX Patrol
BMX Patrol - avatar
+ 1
so for the souce do i copy the entire link of the picture at the top of my web browser
8th Jun 2019, 12:34 PM
BMX Patrol
BMX Patrol - avatar
+ 1
ok im good now
8th Jun 2019, 1:00 PM
BMX Patrol
BMX Patrol - avatar
+ 1
it just says words at the top of the screen there is no picture
8th Jun 2019, 1:03 PM
BMX Patrol
BMX Patrol - avatar