打印本文 打印本文 关闭窗口 关闭窗口
用CSS实现的一页面内的多种HOVER的效果
作者:武汉SEO闵涛  文章来源:敏韬网  点击数744  更新时间:2009/4/23 13:46:23  文章录入:mintao  责任编辑:mintao

  用CSS实现的一页面内的多种HOVER的效果,以下代码贴到<head>区
<head>

<style type="text/css">
<!--
.a { font-family: "宋体"; font-size: 9pt; color: #000000; text-decoration: none}
.a:hover { font-family: "宋体"; font-size: 9pt; color: #FF3333; text-decoration: underline}
.b { font-family: "宋体"; font-size: 9pt; color: #000000; text-decoration: none}
.b:hover { font-family: "宋体"; font-size: 9pt; color: #99ccff}
body { font-family: "宋体"; font-size: 9pt; color: #000000; text-decoration: none}
-->

</style>

</head>

以下代码贴到<body>区
<body>

<a href="#" class="a">链接一</a><br>

<a href="#" class="b">链接二</a>

</body>


打印本文 打印本文 关闭窗口 关闭窗口