css過剰アニメーション
677 ワード
<style type="text/css">
.div{
width: 300px;
height: 46px;
font-size: 12px;
cursor: pointer;
background: #eee;
-webkit-transition: all 3s ease-out;
-moz-transition: all 3s ease-out;
-ms-transition: all 3s ease-out;
transition: all 3s ease-out;
}
.div:hover{
background: pink;
font-size: 16px;
}
</style>
<div class="div"> ...</div>
</code></pre>
<p> </p>
</div>
</div>
</div>
</div>