浏览器背景色半透明效果。

 1 <!DOCTYPE html>
 2 <html>
 3 <head lang="en">
 4     <meta charset="UTF-8">
 5     <title></title>
 6     <link rel="stylesheet" type="text/css" href="http://css.40017.cn/cn/min/??/cn/c/zt/2013/ztBase.css?v=13080902">
 7     <style>
 8         .mask{
 9             width: 200px;
10             height: 200px;
11             line-height: 200px;
12             text-align: center;
13             background: rgba(0,0,0,.1);
14             filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#19000000,endColorstr=#19000000)
15         }
16     </style>
17 </head>
18 <body>
19     <div class="mask">
20        兼容Ie的阴影
21     </div>
22 </body>
23 </html>
View Code

 

生成样式链接:http://code.ciaoca.com/style/hexcolor/

知识点介绍链接:http://www.tuicool.com/articles/juiEFrb

posted @ 2015-05-13 14:46  zhouyan_jsj  Views(267)  Comments(0Edit  收藏  举报