How do I set up a css background code? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How do I set up a css background code?

I am trying to do a custom background for my profile on a game with an image

17th Jun 2022, 2:22 AM
Becca Noel
7 Answers
+ 1
Becca Noel 👇👇👇👇👇👇 /* you can us it on any css selector */ h1 { background-image: url("paper.gif"); /* inside brackets write image link or path */ background-color: #cccccc; }
17th Jun 2022, 3:18 AM
NonStop CODING
NonStop CODING - avatar
+ 1
Becca Noel follow the method👇👇👇 but first download this image in your mobile device https://code.sololearn.com/WqdloGxJMYvQ/?ref=app
17th Jun 2022, 3:27 AM
NonStop CODING
NonStop CODING - avatar
+ 1
Becca Noel you need to convert your image link into png/jpg format. To do that use the Dropbox image uploading method, i have shared that earlier.
17th Jun 2022, 1:33 PM
NonStop CODING
NonStop CODING - avatar
0
What about using a picture?
17th Jun 2022, 2:53 AM
Becca Noel
0
https://postimg.cc/753wK7f9 How would I incorporate this link?
17th Jun 2022, 3:24 AM
Becca Noel
0
Would I add =behind url?
17th Jun 2022, 3:53 AM
Becca Noel
0
body { background:url("https://i.postimg.cc/RZ8hVLmk/FB-IMG-1654710142702.jpg") no-repeat fixed center; }
17th Jun 2022, 7:15 AM
Chris Coder
Chris Coder - avatar