這樣寫(xiě)對(duì)嗎
<style>
? ? ?#block{width:400px;
? ? ? ?height:400px;
background-color:#09C;
margin:auto;
? ? ? ?-webkit-transition:background-color 3s;
}
#block:hover
{background-color:#F00;}
</style>
<style>
? ? ?#block{width:400px;
? ? ? ?height:400px;
background-color:#09C;
margin:auto;
? ? ? ?-webkit-transition:background-color 3s;
}
#block:hover
{background-color:#F00;}
</style>
2015-12-16
舉報(bào)
2015-12-16
對(duì)啊,鼠標(biāo)滑過(guò)會(huì)變成紅色