mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-22 15:39:59 +00:00
Add responsive example
This commit is contained in:
parent
ebfeaa4ad1
commit
b1f4909287
@ -382,6 +382,19 @@ Use these row columns classes to quickly create basic grid layouts or to control
|
|||||||
{{< /example >}}
|
{{< /example >}}
|
||||||
</div>
|
</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()`:
|
You can also use the accompanying Sass mixin, `row-cols()`:
|
||||||
|
|
||||||
{{< highlight scss >}}
|
{{< highlight scss >}}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user