Home > Article > Web Front-end > Please help me understand the background attribute value_html/css_WEB-ITnose
For example, the value of the background attribute is as follows:
background: url(images/replacement.jpg) no-repeat right top;
Experts, does right top locate the image position? Urgent...
right top is to place the image in the upper right corner.
The value of the background-position attribute can be top, bottom, left, right and center. The position keywords can appear in any order, as long as there are no more than 2, one in the horizontal direction and the other in the vertical direction.
right top is to place the image in the upper right corner.
The value of the background-position attribute can be top, bottom, left, right and center. The position keywords can appear in any order, as long as there are no more than 2, one in the horizontal direction and the other in the vertical direction.
1
That is to say, relative to the starting position placed in the space, I seem to understand, thank you!