+ 2

How do u make an image fit the whole screen

20th Apr 2018, 2:06 AM
chuby nwoke
chuby nwoke - avatar
3 Respuestas
+ 3
If you want to set an image as a background, what you would need to do is set up the background-image attribute in the CSS for the body with the url of the image: body{ background-image: url("example.com/jpg"); } If you don't want to do it this way, then you can just set the padding and margin of the body to 0, and have the width and height of your image be 100%. Hope this helped! d:
20th Apr 2018, 2:13 AM
Faisal
Faisal - avatar
+ 3
You have to use Css example:- background-image: url(image.jpg); background -size: cover; /*it will make it fit*/
20th Apr 2018, 2:43 AM
🦋FEATHER🦋
🦋FEATHER🦋 - avatar
0
ty
20th Apr 2018, 8:42 AM
chuby nwoke
chuby nwoke - avatar