Home > Web Front-end > HTML Tutorial > css background:属性问题_html/css_WEB-ITnose

css background:属性问题_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 11:36:06
Original
1083 people have browsed it

background: url(Plus.png) no-repeat scroll 90% 90% / auto 90%;这个斜杠后面是什么意思
斜杠前面的90% 90%又是什么意思呢



是background-size吗?


回复讨论(解决方案)

background-size,第一个90%是宽,第二个90%是高

“ / ” 后面的背景属性是CSS3新增的,有三个:[ background-size]  [background-origin] [background-clip];

background: [background-color] [background-image] [background-repeat]            [background-attachment] [background-position] / [ background-size]            [background-origin] [background-clip];
Copy after login

参考: CSS的background简写方式里新增了新的属性值

Related labels:
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