老师,怎么效果实现不了呢
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>3-1作业</title>
<style>
div {
font-size: 14px;
font-weight: bold;
line-height: 50px;
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
width: 200px;
height: 50px;
margin: auto;
cursor: pointer;
text-align: center;
background: #abcdef;
transform: rotate(0deg);
transition:transform 2s ease-in-out .5;
}
div:hover{
transform: rotate(360deg) scale(2);
transition:transform 2s ease-in-out .5;
}
</style>
</head>
<body>
<div>www.imooc.com</div>
</body>
</html>
恭喜解决一个难题,获得1积分~
来为老师/同学的回答评分吧
0 星