首页 > 其他 > 详细

第十一天

时间:2016-11-26 02:36:40      阅读:216      评论:0      收藏:0      [点我收藏+]

今天主要学习了marquee方法的滚动。

po上个人比较满意的作品。

    <style type="text/css">
        ul{text-align:center;
            list-style-type:none;
            margin:0px;
            padding:0px;
        marquee{text-align:center;
            list-style-type:none;
            margin:0px;
            padding:0px;
        }
        div{
            text-align:center;    
            border:1px solid red;
        }
    </style>
    <script type="text/javascript"></script>
</head>
<body>
    <div>

        <marquee direction="up" width="300" height="200" bgColor="red" scrollAmount="10" >
        <ul>
            <li><h2>我的心</h2>    </li>
            <li><h2>跟着我</h2>    </li>
        </ul>
        </marquee>


        <marquee direction="up" width="300" height="200" bgColor="red" scrollAmount="10" >
        <ul>
            <li><h2>你的心</h2>    </li>
            <li><h2>一起走</h2>    </li>
        </ul>
        </marquee>
    </div>

 

技术分享

第十一天

原文:http://www.cnblogs.com/bennykiss/p/6103309.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!