鼠标移动,背景变色

<style>
.first {background:#666;}
.gray {background:red;}
</style>
<div class="first" onmouseover="this.className='gray'" onmouseout="this.className='first'">
www.aa25.cn
</div>

posted @ 2010-11-13 21:20  zgz_dpl  阅读(168)  评论(0编辑  收藏  举报