老師 我在chrome瀏覽器上沒反應,代碼哪裡有問題呢?

老師 我在chrome瀏覽器上沒反應,代碼哪裡有問題呢?

<!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;
            -webkit-transition: transform 2s ease-in-out .5s;
            transition: transform 2s ease-in-out .5s;          
        }
        /*此处写代码*/
       div:hover{
        transform: rotate(360deg) scale(2);
        -webkit-transition: transform 2s ease-in-out .5s;
        transition: transform 2s ease-in-out .5s;
       }
    </style>
</head>
<body>
    <div>www.imooc.com</div>
</body>
</html>


正在回答

登陆购买课程后可参与讨论,去登陆

2回答

同学你好,可以自己发现问题棒棒哒。另,代码效果正确,无需优化了。祝学习愉快~

提问者 weixin_慕雪0272820 2020-06-22 18:19:26

老師 不好意思  是我開錯檔案  問題已解決能動了 

幫忙看下哪裡代碼哪裡可以改進

问题已解决,确定采纳
还有疑问,暂不采纳

恭喜解决一个难题,获得1积分~

来为老师/同学的回答评分吧

0 星
请稍等 ...
意见反馈 帮助中心 APP下载
官方微信

在线咨询

领取优惠

免费试听

领取大纲

扫描二维码,添加
你的专属老师