mirror of
https://github.com/twbs/bootstrap.git
synced 2024-12-03 15:24:19 +01:00
Merge pull request #17293 from twbs/fix-17263
Replace remaining instances of defunct .visible* classes in docs
This commit is contained in:
commit
d10c889fee
@ -24,7 +24,7 @@
|
|||||||
<body>
|
<body>
|
||||||
|
|
||||||
<nav class="navbar navbar-dark navbar-fixed-top bg-inverse">
|
<nav class="navbar navbar-dark navbar-fixed-top bg-inverse">
|
||||||
<button type="button" class="navbar-toggler visible-xs" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
|
<button type="button" class="navbar-toggler hidden-sm-up" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
|
||||||
<span class="sr-only">Toggle navigation</span>
|
<span class="sr-only">Toggle navigation</span>
|
||||||
<span class="icon-bar"></span>
|
<span class="icon-bar"></span>
|
||||||
<span class="icon-bar"></span>
|
<span class="icon-bar"></span>
|
||||||
|
@ -150,7 +150,7 @@
|
|||||||
<div class="col-xs-6 col-sm-3">.col-xs-6 .col-sm-3</div>
|
<div class="col-xs-6 col-sm-3">.col-xs-6 .col-sm-3</div>
|
||||||
|
|
||||||
<!-- Add the extra clearfix for only the required viewport -->
|
<!-- Add the extra clearfix for only the required viewport -->
|
||||||
<div class="clearfix visible-xs"></div>
|
<div class="clearfix hidden-sm-up"></div>
|
||||||
|
|
||||||
<div class="col-xs-6 col-sm-3">.col-xs-6 .col-sm-3</div>
|
<div class="col-xs-6 col-sm-3">.col-xs-6 .col-sm-3</div>
|
||||||
<div class="col-xs-6 col-sm-3">.col-xs-6 .col-sm-3</div>
|
<div class="col-xs-6 col-sm-3">.col-xs-6 .col-sm-3</div>
|
||||||
|
@ -48,7 +48,7 @@
|
|||||||
<div class="row row-offcanvas row-offcanvas-right">
|
<div class="row row-offcanvas row-offcanvas-right">
|
||||||
|
|
||||||
<div class="col-xs-12 col-sm-9">
|
<div class="col-xs-12 col-sm-9">
|
||||||
<p class="pull-right visible-xs">
|
<p class="pull-right hidden-sm-up">
|
||||||
<button type="button" class="btn btn-primary btn-sm" data-toggle="offcanvas">Toggle nav</button>
|
<button type="button" class="btn btn-primary btn-sm" data-toggle="offcanvas">Toggle nav</button>
|
||||||
</p>
|
</p>
|
||||||
<div class="jumbotron">
|
<div class="jumbotron">
|
||||||
|
@ -317,7 +317,7 @@ Build on the previous example by creating even more dynamic and powerful layouts
|
|||||||
<div class="col-xs-6 col-sm-4">.col-xs-6 .col-sm-4</div>
|
<div class="col-xs-6 col-sm-4">.col-xs-6 .col-sm-4</div>
|
||||||
<div class="col-xs-6 col-sm-4">.col-xs-6 .col-sm-4</div>
|
<div class="col-xs-6 col-sm-4">.col-xs-6 .col-sm-4</div>
|
||||||
<!-- Optional: clear the XS cols if their content doesn't match in height -->
|
<!-- Optional: clear the XS cols if their content doesn't match in height -->
|
||||||
<div class="clearfix visible-xs-block"></div>
|
<div class="clearfix hidden-sm-up"></div>
|
||||||
<div class="col-xs-6 col-sm-4">.col-xs-6 .col-sm-4</div>
|
<div class="col-xs-6 col-sm-4">.col-xs-6 .col-sm-4</div>
|
||||||
</div>
|
</div>
|
||||||
{% endexample %}
|
{% endexample %}
|
||||||
@ -348,7 +348,7 @@ With the four tiers of grids available you're bound to run into issues where, at
|
|||||||
<div class="col-xs-6 col-sm-3">.col-xs-6 .col-sm-3</div>
|
<div class="col-xs-6 col-sm-3">.col-xs-6 .col-sm-3</div>
|
||||||
|
|
||||||
<!-- Add the extra clearfix for only the required viewport -->
|
<!-- Add the extra clearfix for only the required viewport -->
|
||||||
<div class="clearfix visible-xs-block"></div>
|
<div class="clearfix hidden-sm-up"></div>
|
||||||
|
|
||||||
<div class="col-xs-6 col-sm-3">.col-xs-6 .col-sm-3</div>
|
<div class="col-xs-6 col-sm-3">.col-xs-6 .col-sm-3</div>
|
||||||
<div class="col-xs-6 col-sm-3">.col-xs-6 .col-sm-3</div>
|
<div class="col-xs-6 col-sm-3">.col-xs-6 .col-sm-3</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user