请老师检查作业

来源:2-18 编程练习

鱼档卖鱼

2021-12-14 14:11:30

<!DOCTYPE html>

<html lang="en">


<head>

    <meta charset="UTF-8">

    <meta http-equiv="X-UA-Compatible" content="IE=edge">

    <meta name="viewport" content="width=device-width, initial-scale=1.0">

    <title>Document</title>

    <style>

     div {

            font-family: Arial;

            font-size: 72px;

            font-weight: bold;

            position: fixed;

            right: 0;

            left: 0;

            width: 30px;

            height: 30px;

            margin: auto;

            transform: rotate(90deg);

            /*此处写代码*/

            bottom: 40px;

           animation: move 1s linear 5s infinite alternate;

           

        }

        @keyframes move {

            from {

              bottom: 40px;  

            }

            to {

               bottom: 0;

            }

        }

    </style>

</head>


<body>

    <div>&gt;</div>

</body>


</html>


写回答

1回答

好帮手慕小李

2021-12-14

同学你好,代码可以实现需求,棒棒的。继续努力呀~

祝学习愉快。

0

0 学习 · 17877 问题

查看课程