0

Pls how can i Set The background-image property using css in my phone

30th May 2020, 2:19 AM
Oriakhi Godwin
8 Respostas
+ 8
Oriakhi Godwin make sure you use correct URL use this same process as in code for correct URL https://code.sololearn.com/Wy3lrXNwGsgJ/?ref=app
30th May 2020, 2:25 AM
ÃKR
ÃKR - avatar
+ 7
Background-img:url(" img url");
30th May 2020, 2:21 AM
ÃKR
ÃKR - avatar
+ 5
Ans: body{ background-image:url("img url") ; }
4th Jun 2020, 5:11 AM
Nikhat Shah
Nikhat Shah - avatar
+ 2
Even if you are using a phone you can add any html property you want and that's what I do. Look while adding an image you have two option 1. You can add an image directly from your internal storage but the image would be visible to you only and other would not be able to see it . 2. By hosting your image on a cloud platform like dropbox. And that's the best way because it would be visible to other too. You just have to upload your image to dropbox copy down the URL and paste it down inside the image tag but with one change replace the 'www' inside the url with 'dl' . You wouldnot believe but this thing really works. background-image:url(" dl.your uploaded image link");
30th May 2020, 7:08 AM
🔥VENAGE🔥
🔥VENAGE🔥 - avatar
+ 1
Here's your definition - The background-image property sets one or more background images for an element. By default, a background-image is placed at the top-left corner of an element, and repeated both vertically and horizontally. Tip: The background of an element is the total size of the element, including padding and border (but not the margin). Example - body {   background-image: url("img_tree.gif"), url("paper.gif");   background-color: #cccccc; }. Hope you understand Rock the code🤟🤟
30th May 2020, 2:23 AM
Piyush
Piyush - avatar
0
But when I inserted the url it is still showing the blank page... Is it because I am using phone
30th May 2020, 2:22 AM
Oriakhi Godwin
0
Help me adjust background image size Plz teach me
6th Jan 2021, 12:15 AM
Taed
- 1
But when I inserted my image url it is still showing the blank page 8s it because I am using phone
30th May 2020, 2:24 AM
Oriakhi Godwin