麻烦老师检查
来源:2-7 编程练习
dww1
2021-10-12 23:06:57
<style>
div {
width: 200px;
height: 50px;
background-color: orange;
text-align: center;
line-height: 50px;
font-size: 18px;
color: aliceblue;
margin: auto;
position: fixed;
left: 50%;
top: 50%;
margin-left: -100px;
margin-top: -25px;
transition: transform 5s cubic-bezier(.3,.64,.93,.7) 0s;
}
div:hover{
transform: rotate(360deg) scale(2);
}
</style>
<div>www.imooc.com</div>
1回答
好帮手慕星星
2021-10-13
同学你好,代码实现效果很棒。继续加油,祝学习愉快!
相似问题