老師 有什麼可以改進?

老師 有什麼可以改進?

<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>2-4</title>
    <style type="text/css">
        div {
            font-family: 'Microsoft Yahei';
            font-size: 60px;
            font-weight: bold;
            line-height: 600px;
            position: absolute;
            top: -1000px;
            right: 0;
            left: 0;
            width: 800px;
            height: 600px;
            margin: auto;
            text-align: center;
            border: 5px solid #000;
            border-radius: 50%;
            animation-name: disp;
            animation-duration: 2s;
            animation-delay: 2s;
            /*此处写代码*/
       }

       @keyframes disp{
        from{top:-1000px;}
        to{top:1000px; }

       }

   </style>
</head>
<body>
    <div>大家好,欢迎来到慕课网!</div>
</body>
</html>


正在回答

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

1回答

同学你好,向下跳的位置可以改进一下:

http://img1.sycdn.imooc.com//climg/5ef08cfe093addc704880228.jpg

如果我的回答帮助了你,欢迎采纳。祝学习愉快~

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

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

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

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

在线咨询

领取优惠

免费试听

领取大纲

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