如何写一个列表组

来源:1-1 课程介绍

xiaoxiaoxiao遥

2017-05-08 22:55

尽量完善点

写回答 关注

1回答

  • 西兰花伟大炮
    2017-05-08 23:19:02
    已采纳
    <!DOCTYPE html>
    <html lang="en">
    <head>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <meta http-equiv="X-UA-Compatible" content="ie=edge">
        <title>Document</title>
        <link rel="stylesheet" href="https://cdn.bootcss.com/bootstrap/3.3.5/css/bootstrap.min.css">
    </head>
    <body>
        <ul class="list-group">
            <li class="list-group-item list-group-item-success">首页<span class="badge">金</span></li>
            <li class="list-group-item">求关注<span class="badge">木</span></li>
            <li class="list-group-item">求sala<span class="badge">55<span></li>
            <li class="list-group-item disabled">大保健</li>
            <li class="list-group-item">
                <h4 class="list-group-item-heading">this is a boy?</h4>
                <p class="list-group-item-text">
                    sdfsdkjfndskjfgnkjdfkjngnjfdjkngjknfdjkngknjfdknjgnjkfdknjgjnkdfjkgn
                </p>
            </li>
        </ul>
    </body>
    </html>

    欢迎采纳!

基于bootstrap的网页开发

Bootstrap框架的基础教程,学会用Bootstrap前端框架搭建网页

187668 学习 · 734 问题

查看课程

相似问题