css实现:hover过渡动画放大,离开时过渡动画还原
.box{
width:100px;
height:100px;
background:pink;
transition: all 500ms linear;
}
.box:hover{
transform: scale(1.2);
transition: all 500ms linear;
}
.box{
width:100px;
height:100px;
background:pink;
transition: all 500ms linear;
}
.box:hover{
transform: scale(1.2);
transition: all 500ms linear;
}
共有 0 条评论