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

WBOY
Release: 2016-06-24 12:18:07
Original
1080 people have browsed it

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!

source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template