0

How To Adjust The Background Image To Make It On The Full Screen Or Fit It To Screen ?????

I Want To Insert Background Image But It Is Too Large And It Is Not Fit To The Screen... So I Want To Fit It To The Screen..... My Code https://code.sololearn.com/WZ1L28yL9RSi/?ref=app

9th Apr 2021, 12:14 PM
Tirthen Patel
Tirthen Patel - avatar
2 ответов
+ 5
We don't see any background image in your code. You can try something like this, body { background:url(""); background-repeat:no-repeat ; background-size:cover; }
9th Apr 2021, 12:32 PM
Simba
Simba - avatar
+ 1
You can use height and width property to adjust your bg img https://code.sololearn.com/W100rOrAdr4q/?ref=app
9th Apr 2021, 12:47 PM
Aditya
Aditya - avatar