How to set background image size? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

How to set background image size?

I added an image but it not fit to them page so help me to set background size

18th Mar 2017, 7:23 AM
Abhay Gulaganji
Abhay Gulaganji - avatar
2 Answers
0
so after your image source link add width="" height="" in the quotes add pixel size
18th Mar 2017, 7:36 AM
David Busev
David Busev - avatar
0
background-size: values | contain | cover
18th Mar 2017, 8:17 AM
Yaroslav Pieskov
Yaroslav Pieskov - avatar