This post was last edited by deiphi on 2013-12-19 22:31:19
.box{
-moz-box-shadow:rgba(0,0,0,.2) 1px 1px 2px;
-webkit-box-shadow:rgba(0,0,0,.2) 1px 1px 2px;
-ms-box-shadow:rgba(0,0,0,.2) 1px 1px 2px;
box-shadow:rgba(0,0,0,.2) 1px 1px 2px;
}
Why write a lot, just write box-shadow:rgba (0,0,0,.2) 1px 1px 2px; Isn’t it also possible?
why?
Reply to the discussion (solution)
Because I want to be compatible with various browsers.
For the sake of compatibility, there is no way
Although all high-end browsers now support box-shadow, lower version browsers still don’t. Those are just for those low-end browsers. of.
Don’t write in the wrong order.
This is the eternal pain of the web. . . . .
Jiang Zi, thank you everyone
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