Home  >  Article  >  Web Front-end  >  css3 set background positioning_html/css_WEB-ITnose

css3 set background positioning_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 11:42:55993browse

CSS3 background-origin can position the image in: padding or inside padding, or even the border.

So it has three values: content-box, padding-box or border-box


content-box


border-box


padding-box


Self-study to discover border-box and padding -box is there but something else


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