码迷,mamicode.com
首页 > Web开发 > 详细

带箭头阴影的提示框,CSS代码,IE不兼容

时间:2015-05-02 13:38:45      阅读:144      评论:0      收藏:0      [点我收藏+]

标签:

<html>
<head>
<title>带箭头阴影的提示框</title>
<style>
.wrap{position:relative;}
.bd{
background:#BDCEEF;width:301px;height:101px;margin:10px;position:relative;z-index:2;
box-shadow: 5px 8px 11px rgba(0,0,0,0.4);
-webkit-box-shadow: 5px 8px 11px rgba(0,0,0,0.4);
-moz-box-shadow: 5px 8px 11px rgba(0,0,0,0.4);
border-radius: 5px;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
}
.cor,.cor_s{
position:absolute;
z-index:2;
width:40px;
height:40px;
background:#BDCEEF;
left:30px;bottom:-20px;
transform: skewY(-45deg);
-o-transform: skewY(-45deg);
-webkit-transform: skewY(-45deg);
-moz-transform: skewY(-45deg);
}
.cor_s{
z-index:1;
box-shadow: 5px 8px 11px rgba(0,0,0,0.4);
-webkit-box-shadow: 5px 8px 11px rgba(0,0,0,0.4);
-moz-box-shadow: 5px 8px 11px rgba(0,0,0,0.4);
}
</style>
</head>
<body>
<div class=‘wrap‘>
<div class=‘bd‘></div>
<div class="cor"></div>
<div class="cor_s"></div>
</div>
<div>http://www.999jiujiu.com/</div>
</body>
</html>

带箭头阴影的提示框,CSS代码,IE不兼容

标签:

原文地址:http://www.cnblogs.com/life6688/p/4471801.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!