0

Why image is not applied when I try to apply it in CSS?

I write background-image:url(https://www.pexels.com/photo/clouds-landscape-niagara-falls-river-149472/; but it doesn't work. Why?

16th Mar 2021, 5:12 PM
Tarun
2 Respostas
+ 2
It should be like this example background-image:url("http://example.com/img.jpg");
16th Mar 2021, 5:17 PM
Jamal Saied
Jamal Saied - avatar
0
your url seems to point to nothing... try to put a valid image file url ^^
16th Mar 2021, 5:16 PM
visph
visph - avatar