Home  >  Article  >  Web Front-end  >  Please help me understand the background attribute value_html/css_WEB-ITnose

Please help me understand the background attribute value_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 12:18:071081browse

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...


Reply to the discussion (solution)

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn