按钮特效

<!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>
.x_a_p{display:inline-block; border-top:1px solid #FBD0B2; border-bottom:1px solid #FCE1CE; font-size:12px;}
.x_b_p{float:left; border-left:1px solid #FBD0B2; border-right:1px solid #F9B88C; border-bottom:1px solid #F9B88C; margin:0 -1px; position:relative;}
.x_c_p{display:inline-block; padding:0.3em 0.6em 0; background:#FEF3EB; border-left:2px solid #ffffff; border-top:1px solid #ffffff; border-bottom:0.2em solid #FEEEE3; line-height:1.1em; cursor:pointer;}
.x_p_hover:hover{border-top-color:#FFBE91; border-bottom-color:#FFCEAD;}
.x_p_hover:hover .x_b_p{border-left-color:#FFBE91; border-right-color:#FFA76B; border-bottom-color:#FFA76B;}
.x_p_hover:hover .x_c_p{background:#FFDFC9; border-left-color:#FFE7D7; border-top-color:#FFEBDD; border-bottom-color:#FFDAC1;}
</style>
</head>
<body>
<a href="http://www.miiceic.org.cn/" class="x_a_p x_p_hover">
   <span class="x_b_p">
         <span class="x_c_p">企业培训</span>
   </span>
</a>
</body>
</html>

posted @ 2011-09-19 10:24  通海口  阅读(128)  评论(0编辑  收藏  举报