+ 1

How to put a background image in css body{} without the repeating the image and how to write on image?

I want to insert a background image in website with css but whenever I type the url of image it gets repeating on the whole page and it doesn't cover the page instead of that there are small box images every where so how to put a single background image?

13th May 2021, 4:05 AM
Sachin Chauhan
Sachin Chauhan - avatar
2 Answers
+ 2
Use: background-repeat:no-repeat; background-size:cover;
13th May 2021, 4:14 AM
TOLUENE
TOLUENE - avatar
+ 1
Thanks for your answer 👍
13th May 2021, 4:45 AM
Sachin Chauhan
Sachin Chauhan - avatar