响应式网格布局

<div class="container">
    <h1>带媒体查询的响应式网格布局</h1>
    <div class="row">
        <div class="col-xs-12 col-sm-6 col-md-4 col-lg-3">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Voluptates, omnis?</div>
        <div class="col-xs-12 col-sm-6 col-md-4 col-lg-3">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Voluptates, omnis?</div>
        <div class="col-xs-12 col-sm-6 col-md-4 col-lg-3">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Voluptates, omnis?</div>
        <div class="col-xs-12 col-sm-6 col-md-4 col-lg-3">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Voluptates, omnis?</div>
        <div class="col-xs-12 col-sm-6 col-md-4 col-lg-3">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Voluptates, omnis?</div>
        <div class="col-xs-12 col-sm-6 col-md-4 col-lg-3">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Voluptates, omnis?</div>
    </div>
</div>

上一篇:Yii: 获取当前控制器和动作名


下一篇:django实现文件上传(最简单的方法)