CSS – background

background-position

If you only specify one keyword, the other value will be “center”
– left top / left center / left bottom / right top / right center / right bottom / center top / center center / center bottom

The first value is the horizontal position and the second value is the vertical. The top left corner is 0% 0%. The right bottom corner is 100% 100%. If you only specify one value, the other value will be 50%. . Default value is: 0% 0%
– x% y%

Specifies that the setting of the background-position property should be inherited from the parent element
– inherit

댓글 남기기

이메일은 공개되지 않습니다. 필수 입력창은 * 로 표시되어 있습니다