mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-20 20:00:36 +03:00
Backport #28679.
* Documentation tweaks * Remove redundant `col-12` classes
This commit is contained in:
committed by
XhmikosR
parent
36ea7e7421
commit
e9d8c1a9dd
@@ -311,7 +311,7 @@ Don't want your columns to simply stack in some grid tiers? Use a combination of
|
||||
<div class="container">
|
||||
<!-- Stack the columns on mobile by making one full-width and the other half-width -->
|
||||
<div class="row">
|
||||
<div class="col-12 col-md-8">.col-12 .col-md-8</div>
|
||||
<div class="col-md-8">.col-md-8</div>
|
||||
<div class="col-6 col-md-4">.col-6 .col-md-4</div>
|
||||
</div>
|
||||
|
||||
@@ -490,7 +490,7 @@ In practice, here's how it looks. Note you can continue to use this with all oth
|
||||
<div class="bd-example-row">
|
||||
{% capture example %}
|
||||
<div class="row no-gutters">
|
||||
<div class="col-12 col-sm-6 col-md-8">.col-12 .col-sm-6 .col-md-8</div>
|
||||
<div class="col-sm-6 col-md-8">.col-sm-6 .col-md-8</div>
|
||||
<div class="col-6 col-md-4">.col-6 .col-md-4</div>
|
||||
</div>
|
||||
{% endcapture %}
|
||||
|
||||
Reference in New Issue
Block a user