鼠标移动,背景变色

<style>
.first 
{background:#666;}
.gray 
{background:red;}
</style>
<div class="first" onmouseover="this.className='gray'" onmouseout="this.className='first'">
posted @ 2011-03-13 16:42  御清风  阅读(245)  评论(0编辑  收藏  举报