美文网首页
作业—页码

作业—页码

作者: Taoqi思 | 来源:发表于2018-10-25 17:59 被阅读0次
    <html lang="en">
    <head>
        <meta charset="UTF-8">
        <title>页码</title>
        <style type="text/css">
            .box {
                width: 960px;
                height: 42px;
                margin: 0 auto;
                border: 1px black solid;
                font: "宋体";
            }
            .box1 {
                width: 50%;
                background-color: #FFFFFF;
                margin: 0 auto;
            }
            .y1 {
                display: inline-block;
                padding: 5px 10px;
                background-color:yellow;
                color: black;
                margin: 5px auto;
            }
        </style>>
    </head>
    <body>
        <div class="box">
            <div class="box1">
                <a href="#"><span class="y1">上一页</span></a>
                <a href="#"><span class="y1">1</span></a>
                <a href="#"><span class="y1">2</span></a>
                <a href="#"><span class="y1">3</span></a>
                <a href="#"><span class="y1">4</span></a>
                <span>...</span>
                <a href="#"><span class="y1">5</span></a>
                <a href="#"><span class="y1">6</span></a>
                <a href="#"><span class="y1">7</span></a>
                <a href="#"><span class="y1">8</span></a>
                <a href="#"><span class="y1">9页</span></a>
                </div>
            </div>
    </body>
    </html>
    
    页码.png

    相关文章

      网友评论

          本文标题:作业—页码

          本文链接:https://www.haomeiwen.com/subject/rxuctqtx.html