<div style="cursor:pointer;width:100px;height:100px;background:blue;transition:width 2s;" onmouseout="this.style.width='100px'" onmousemove="this.style.width='300px'"></div>
手形,宽100,高100,背景蓝色,鼠标移上去宽度增加至300,时间2秒,速度与曲线默认;离开后减少至100.
本文如未解决您的问题请添加抖音号:51dongshi(抖音搜索懂视),直接咨询即可。