google calendar里的气泡形状的信息框是怎么实现的?
就是四角都是圆弧,下面伸出一个箭头的类似气泡的信息框.
我觉得应该不是VML或者SVG,因为我的FF没装什么插件也能同IE一样显示;好像也不像是图片拼出来的...
------解决方案--------------------拐角全是png透明图
------解决方案-------------------- <html>
<head>
<title> css圆角效果--七度空间网页教学网 </title>
<meta http-equiv= "content-type " content= "text/html; charset=gb2312 ">
<style type= "text/css ">
div.RoundedCorner{display:inline;background: #9BD1FA;width:200px;text-align:center}
b.rtop, b.rbottom{display:block;background: #FFF}
b.rtop b, b.rbottom b{display:block;height: 1px;overflow: hidden; background: #9BD1FA}
b.r1{margin: 0 5px}
b.r2{margin: 0 3px}
b.r3{margin: 0 2px}
b.rtop b.r4, b.rbottom b.r4{margin: 0 1px;height: 2px}
.right{
display:inline;
width:100px;
padding:10px 10px 10px 0px;
}
.emborder1{
display:block;
border-width:10px 0px 10px 30px;
border-style:solid;
border-color: #FFF #FFF #FFF #9BD1FA;
}
</style>
</head>
<body>
<div class= "RoundedCorner ">
<b class= "rtop "> <b class= "r1 "> </b> <b class= "r2 "> </b> <b class= "r3 "> </b> <b class= "r4 "> </b> </b>
<br> 你要的是这样的吗? <br> <br>
<b class= "rbottom "> <b class= "r4 "> </b> <b class= "r3 "> </b> <b class= "r2 "> </b> <b class= "r1 "> </b> </b>
</div>
<div class= "right "> <em class= "emborder1 "> </em> </div>
</body>
</html>