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:
parent
ebfeaa4ad1
commit
b1f4909287
@ -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 >}}
|
||||
|
Loading…
x
Reference in New Issue
Block a user