鼠标滑过样式改变

<style type="text/css">
.overit
{background-color: #00FF66;}
.outit
{background-color: #FF0000;}
</style>


Html中的代码:

<label onmouseover="this.className='overit'" onmouseout="this.className='outit'">Just a Test!</label>

 

posted @ 2013-05-29 16:51  Jakin.zhou  阅读(95)  评论(0编辑  收藏  举报