0
CSS
How can I select the part of the image I want for my background
4 Answers
+ 3
+ 2
Try to adjust the values of background selector, x,y, size to obtain different position of the img.jpg background image.
background: url(img.jpg) <x>% <y>% / <size>% no-repeat;
https://code.sololearn.com/Wx6ljf1vrK7i/?ref=app
https://code.sololearn.com/W0ufFxdLTP11/?ref=app
https://code.sololearn.com/WvvEA7znzQr5/?ref=app
https://code.sololearn.com/W5HkVaC5uFo3/?ref=app
https://code.sololearn.com/W6C42qMCYR4U/?ref=app
https://code.sololearn.com/WIKpkId9F1s1/?ref=app
0
Tell me which part you want.
0
You must set selector for part style