how can i change size of background-image? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

how can i change size of background-image?

i am learning css

15th Jul 2019, 11:45 AM
Deekshith shetty
Deekshith shetty - avatar
2 Answers
+ 2
You would use the 'backround-size'-property. If you want the background to cover the whole page, you could pass 'cover' into the property. https://www.w3schools.com/cssref/css3_pr_background-size.asp
15th Jul 2019, 11:51 AM
Roolin
Roolin - avatar
0
thank you
15th Jul 2019, 12:33 PM
Deekshith shetty
Deekshith shetty - avatar