bootstrap V3 - The Four Different Types of Media
1. The Four Different Types of Media in bootstrap V3
@media (max-width:767px){ ... }
@media (min-width:768px) and (max-width:991px){ ... }
@media (min-width:992px) and (max-width:1199px){ ... }
@media (min-width:1200px){ ... }
xs: extra small; 767px<=xs;
sm:small; 768px<=sm<=991px;
md:middle; 992px<=md<=1199px;
lg: large; min-width:1200px;
Ref:
h t t p : / / g e t bootstrap.com/css/#forms
socialme diatoday . com/ ginidietrich /1556276/four-different-types-media
q i a n d u a n b l o g . c o m / 3 1 5 0 . h t m l
<!-- tabs -->
<div class="row">
<!-- Left col -->
<section class="col-lg-12 connectedSortable ui-sortable">
<!-- Custom tabs (Charts with tabs)-->
<div class="nav-tabs-custom" style="cursor: move;">
<!-- Tabs within a box -->
<ul class="nav nav-tabs pull-left ui-sortable-handle">
<li class="pull-left header"><i class="fa fa-list-alt"></i> <fmt:message key="leaverec"/></li>
<li class="active"><a data-toggle="tab" href="#revenue-chart" aria-expanded="true">Approved</a></li>
<li class=""><a data-toggle="tab" href="#sales-chart" aria-expanded="false">Donut</a></li>
</ul>
<div class="tab-content no-padding">
<!-- 1 -->
<div style="position: relative; height: 300px;" id="revenue-chart" class="chart tab-pane active">
1
</div>
<div style="position: relative; height: 300px;" id="sales-chart" class="chart tab-pane">2</div>
</div>
</div><!-- /.nav-tabs-custom -->
</section><!-- /.Left col -->
</div>
@media (max-width:767px){ ... }
@media (min-width:768px) and (max-width:991px){ ... }
@media (min-width:992px) and (max-width:1199px){ ... }
@media (min-width:1200px){ ... }
xs: extra small; 767px<=xs;
sm:small; 768px<=sm<=991px;
md:middle; 992px<=md<=1199px;
lg: large; min-width:1200px;
Ref:
h t t p : / / g e t bootstrap.com/css/#forms
socialme diatoday . com/ ginidietrich /1556276/four-different-types-media
q i a n d u a n b l o g . c o m / 3 1 5 0 . h t m l
<!-- tabs -->
<div class="row">
<!-- Left col -->
<section class="col-lg-12 connectedSortable ui-sortable">
<!-- Custom tabs (Charts with tabs)-->
<div class="nav-tabs-custom" style="cursor: move;">
<!-- Tabs within a box -->
<ul class="nav nav-tabs pull-left ui-sortable-handle">
<li class="pull-left header"><i class="fa fa-list-alt"></i> <fmt:message key="leaverec"/></li>
<li class="active"><a data-toggle="tab" href="#revenue-chart" aria-expanded="true">Approved</a></li>
<li class=""><a data-toggle="tab" href="#sales-chart" aria-expanded="false">Donut</a></li>
</ul>
<div class="tab-content no-padding">
<!-- 1 -->
<div style="position: relative; height: 300px;" id="revenue-chart" class="chart tab-pane active">
1
</div>
<div style="position: relative; height: 300px;" id="sales-chart" class="chart tab-pane">2</div>
</div>
</div><!-- /.nav-tabs-custom -->
</section><!-- /.Left col -->
</div>
评论
发表评论