请老师帮忙看一下这样写是否可以

来源:2-7 编程练习

划过天空阿忠

2020-11-25 11:17:10

# 具体遇到的问题

# 报错信息的截图

# 相关课程内容截图

# 尝试过的解决思路和结果

# 粘贴全部相关代码,切记添加代码注释(请勿截图)

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

            transition: all 5s linear os;

            transform:ratate(0deg);

           

        }

        div:hover {

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

        }

       

    </style>

</head>

<body>

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

</body>

</html>


写回答

1回答

好帮手慕夭夭

2020-11-25

同学你好,有两处地方写错,如下图所示:

http://img.mukewang.com/climg/5fbdcd9e0907773703730124.jpg

如上中,数字0写成了字母o,ratate单词是错误的拼写。另外,动画过渡的时间调整一下效果更好。如下修改:

http://img.mukewang.com/climg/5fbdce6d096fc47503310171.jpg

祝学习愉快~

0

0 学习 · 15276 问题

查看课程