2-18z作业检查
来源:2-18 编程练习
请老师大大检查作业
2021-11-19 14:09:01
相关代码:
<!DOCTYPE html>
<html>
<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;
right: 0;
left: 0;
bottom:50px;
width: 30px;
height: 30px;
margin: auto;
transform: rotate(90deg);
/*此处写代码*/
animation:gundong 1s ease-in .5s infinite ;
}
@keyframes gundong {
0%{
bottom:50px;
}
50%{
bottom:25px;
}
75%{
bottom:30px;
}
100%{
bottom:20px;
}
}
</style>
</head>
<body>
<div>></div>
</body>
</html>1回答
同学你好,效果完成的很棒,666~
祝学习愉快~
相似问题