你的位置:首页 > 网页设计

[网页设计]带箭头阴影的提示框,CSS代码,IE不兼容


<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 ></div>
<div ></div>
</div>
<div>http://www.999jiujiu.com/</div>
</body>
</html>