请老师检查一下,谢谢!
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>2-9</title>
<style type="text/css">
div {
font-family: Arial;
font-size: 72px;
font-weight: bold;
position: fixed;
bottom: 20px;
right: 0;
left: 0;
width: 30px;
height: 30px;
margin: auto;
transform: rotate(90deg);
transform-origin: 50% 50%;
animation: div .5s .5s alternate infinite linear;
}
div:hover{
cursor: pointer;
}
@keyframes div{
form{ bottom: 10px;}
to{ bottom: 10px;}
}
</style>
</head>
<body>
<div>></div>
</body>
</html>2
收起
正在回答
1回答
同学你好,代码是正确的,继续加油。祝学习愉快~
恭喜解决一个难题,获得1积分~
来为老师/同学的回答评分吧
0 星