代码
<div class="test"> <div></div> <div></div> </div>
.test{
width: 200px;
height: 200px;
margin-top: 200px;
margin-left: 300px;
overflow: hidden;
background-color: red;
}
.test div{
width: 100%;
height: 100%;
transition: 500ms;
}
.test div:last-child{
background-color: green;
}
.test:hover div{
transform: translateY(-100%);
}
免责声明:本站文章均来自网站采集或用户投稿,网站不提供任何软件下载或自行开发的软件!
如有用户或公司发现本站内容信息存在侵权行为,请邮件告知! 858582#qq.com
内蒙古资源网 Copyright www.nmgbbs.com
暂无“css实现鼠标放上去时图片过渡转换动画效果”评论...
