0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-01 13:24:25 +01:00

Add responsive example

This commit is contained in:
ysds 2019-08-29 22:12:26 +09:00 committed by XhmikosR
parent afc9cae32c
commit 8741eed7a5

View File

@ -395,6 +395,20 @@ Use these row columns classes to quickly create basic grid layouts or to control
{% include example.html content=example %}
</div>
<div class="bd-example-row">
{% capture example %}
<div class="container">
<div class="row row-cols-1 row-cols-sm-2 row-cols-md-4">
<div class="col">Column</div>
<div class="col">Column</div>
<div class="col">Column</div>
<div class="col">Column</div>
</div>
</div>
{% endcapture %}
{% include example.html content=example %}
</div>
You can also use the accompanying Sass mixin, `row-cols()`:
{% highlight scss %}