冒泡对话框 css特效

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>安博教育中程在线</title>
<style>
.test{width:300px; padding:30px 20px; border:5px solid #beceeb; position:relative;}
.test span{width:0; height:0; font-size:0; overflow:hidden; position:absolute;}
.test span.bot{
    border-width:20px;
    border-style:solid dashed dashed;
    border-color:#beceeb transparent transparent;
    left:80px;
    bottom:-40px;
}
.test span.top{
    border-width:20px;
    border-style:solid dashed dashed;
    border-color:#ffffff transparent transparent;
    left:80px;
    bottom:-33px;
}  
</style>
</head>

<body>
<div class="test">
    <span class="bot"></span>
    <span class="top"></span>
    <a href="http://www.miiceic.org.cn/">安博教育中程在线企业培训</a>
</div>
</body>
</html>
posted @ 2011-09-06 10:42  通海口  阅读(436)  评论(0编辑  收藏  举报