+ 2
How do u make an image fit the whole screen
3 Antworten
+ 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:
+ 3
You have to use Css
example:-
background-image: url(image.jpg);
background -size: cover; /*it will make it fit*/
0
ty