请老师检查作业

来源:2-7 编程练习

鱼档卖鱼

2021-12-14 10:17:14

<!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-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;

            /*此处写代码*/

           

            transition: transform 2s linear 0s;

           

        }

        /*此处写代码*/

        div:hover {

            transform: rotate(360deg) scale(2);

        }

       

    </style>

</head>

<body>

    <div>www.imooc.com</div>

</body>

</html>


写回答

1回答

好帮手慕然然

2021-12-14

同学你好,代码实现效果很棒,继续加油,祝学习愉快!

0

0 学习 · 17877 问题

查看课程