+ 1
load background-image
I try to load a background image in CSS with an url : #header { background-image: url("https://drive.google.com/file/d/1HT56yziZEZpOG8teE_Z8m4WKJa7DBWDGIw/view"); background-size: cover; } But nothing is shown when I run this code, any suggestions ?
5 Respuestas
+ 1
you have to upload it on public image hosting. like photobucket ..because when I tried to view it it requires permission from you
+ 2
it has no image extension. it wont load.
+ 1
ok I tried both. jpg and PNG. did not work.
+ 1
Open the webside that shows your photo, than press Ctrl Shift i
You will see all information from the webside on the right-hand side of your screen. The URL of the photo is also there. copy this url and paste it where you want it.
That should do the trick ;-)
0
you should be connected through internet.