Python 第五十四章 bootsrtap

bootstrap

栅格系统

列偏移col-md-offset-x

col-md-offset-x
    <div class="container-fluid">
<!--            <h1>xxxx</h1>-->
        <div class="row">
            <div class="col-md-6 col-md-offset-3 c1">


        </div>


    </div>

列嵌套

    <div class="container-fluid">
<!--            <h1>xxxx</h1>-->
        <div class="row">
            <div class="col-md-6 col-md-offset-3 c1">
            // 列中又分栅格
                <div class="row">
                    <div class="col-sm-6 c1"></div>
                    <div class="col-sm-6 c2"></div>
                </div>


            </div>

        </div>


    </div>

bootstrap 文档
https://v4.bootcss.com/docs/4.3/getting-started/introduction/
bootstrap 代码实例
https://v4.bootcss.com/docs/4.3/examples/

posted @ 2019-09-20 16:09  张珊33  阅读(156)  评论(0编辑  收藏  举报