mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -05:00
Attempts to fix #8645: add code comments to grid example to clarify behavior
This commit is contained in:
parent
5716355cda
commit
ddafa9a0bb
1 changed files with 5 additions and 0 deletions
5
css.html
5
css.html
|
@ -239,15 +239,20 @@ base_url: "../"
|
|||
</div>
|
||||
</div>
|
||||
{% highlight html %}
|
||||
<!-- Stack the columns on mobile by making one full-width and the other half-width -->
|
||||
<div class="row">
|
||||
<div class="col-12 col-lg-8">8</div>
|
||||
<div class="col-6 col-lg-4">4</div>
|
||||
</div>
|
||||
|
||||
<!-- Columns start at 50% wide on mobile and bump up to 33.3% wide on desktop -->
|
||||
<div class="row">
|
||||
<div class="col-6 col-lg-4">4</div>
|
||||
<div class="col-6 col-lg-4">4</div>
|
||||
<div class="col-6 col-lg-4">4</div>
|
||||
</div>
|
||||
|
||||
<!-- Columns are always 50% wide, on mobile and desktop -->
|
||||
<div class="row">
|
||||
<div class="col-6 col-lg-6">6</div>
|
||||
<div class="col-6 col-lg-6">6</div>
|
||||
|
|
Loading…
Reference in a new issue