0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-01-18 10:52:19 +01:00

Add responsive example

This commit is contained in:
ysds 2019-08-29 22:12:26 +09:00 committed by Mark Otto
parent ebfeaa4ad1
commit b1f4909287

View File

@ -382,6 +382,19 @@ Use these row columns classes to quickly create basic grid layouts or to control
{{< /example >}}
</div>
<div class="bd-example-row">
{{< 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>
{{< /example >}}
</div>
You can also use the accompanying Sass mixin, `row-cols()`:
{{< highlight scss >}}