你的位置:首页 > 软件开发 > 网页设计 > rgba兼容性处理

rgba兼容性处理

发布时间:2017-03-21 12:00:10
根据caniuse(http://caniuse.com/#search=rgba),rgba兼容性为IE9以及以上浏览器。 实例代码: 1 <!doctype html> 2 <html lang="en"> 3 4 &lt ...

根据caniuse(http://caniuse.com/#search=rgba),rgba兼容性为IE9以及以上浏览器。

rgba兼容性处理

 

实例代码:

 1 <!doctype html> 2 <html lang="en"> 3  4   <head> 5     <meta charset="UTF-8" /> 6     <title>rgba 兼容性处理</title> 7     <style type="text/css"> 8       * { 9         margin: 0;10         padding: 0;11       }12       13       .parent {14         width: 400px;15         height: 400px;16         margin: 100px;17         font-size: 20px;18         color: #FF0000;19         border: 1px solid red;20         background-color: rgba(0, 0, 0, 0.5);21       }22     </style>23   </head>24 25   <body>26     <div class="parent">27       rgba28     </div>29   </body>30 31 </html>

 

海外公司注册、海外银行开户、跨境平台代入驻、VAT、EPR等知识和在线办理:https://www.xlkjsw.com

原标题:rgba兼容性处理

关键词:

*特别声明:以上内容来自于网络收集,著作权属原作者所有,如有侵权,请联系我们: admin#shaoqun.com (#换成@)。

可能感兴趣文章

我的浏览记录