两个bootstrap站点结构分析

2017-12-11  本文已影响0人  李奔

ghost中国

<span class="nav-toggle-button collapsed" 
data-toggle="collapse" data-target="#main-menu">
</span>
<div class="collapse navbar-collapse" id="main-menu">....</div>
<section class="content-wrap">
        <div class="container">
            <div class="row">
                <main class="col-md-8 main-content"></main>
                <aside class="col-md-4 sidebar"></aside>
            </div>
         </div>
</section>
<footer class="main-footer">
        <div class="container">
            <div class="row">
                <div class="col-sm-4"></div>
                <div class="col-sm-4"></div>
                <div class="col-sm-4"></div>
            </div>
        </div>
</footer>

azul

<div class="container">
            <footer>
                <div class="row">
                    <div class="col-xs-12 col-md-5"></div>
                    <div class="col-xs-12 col-md-7">
                        <div class="row">
                            <div class="col-xs-12  col-md-4"></div>
                            <div class="col-xs-12  col-md-4"></div>
                            <div class="col-xs-12  col-md-4"></div>
                        </div>
                        <div class="row">
                            <div class="col-xs-12  col-md-4"></div>
                            <div class="col-xs-12  col-md-4"></div>
                            <div class="col-xs-12  col-md-4"></div>
                        </div>
                    </div>
                </div>
            </footer>
</div>
上一篇下一篇

猜你喜欢

热点阅读