效果体验:http://keleyi.com/keleyi/phtml/css3/14.htm
以下是代码:
1 <!DOCTYPE html> 2 <html xmlns="http://www.w3.org/1999/xhtml"> 3 <head> 4 <meta charset="utf-8" /> 5 <title>CSS3鼠标悬停显示动画边框-柯乐义</title><base target="_blank" /> 6 <link href="http://keleyi.com/keleyi/phtml/css3/14/keleyi.css" type="text/css" rel="stylesheet" /> 7 </head> 8 <body> 9 <div class="main"> 10 <ul> 11 <li class="keleyi"> 12 <div class="keleyi-hover"> 13 </div> 14 <img src="http://keleyi.com/keleyi/phtml/css3/14/keleyi1.jpg" width="188" height="250" alt="柯乐义" /> 15 </li> 16 <li class="keleyi"> 17 <div class="keleyi-hover"> 18 </div> 19 <img src="http://keleyi.com/keleyi/phtml/css3/14/keleyi2.jpg" width="188" height="250" alt="柯乐义" /> 20 </li> 21 </ul> 22 请使用<a href="http://keleyi.com/a/bjac/g039tue3.htm">支持HTML5的浏览器</a>查看本页 <a href="http://keleyi.com">首页</a> <a href="http://keleyi.com/a/bjad/r9kfvhvt.htm">原文</a> <a href="http://keleyi.com/keleyi/phtml/">特效库</a> 23 </div> 24 </body> 25 </html>