Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/site
diff options
context:
space:
mode:
authorysds <ysds.code@gmail.com>2019-08-28 17:37:39 +0300
committerXhmikosR <xhmikosr@gmail.com>2019-09-26 18:37:07 +0300
commitafc9cae32c2677943401a3ce5ae621d66173610c (patch)
treeabebbbb4f4ee2dec82b0aea20c80aaaf5b050ca2 /site
parentd08567797f9da9fc8f3030a1ce5ba54b82df1824 (diff)
Allow override default col width
Diffstat (limited to 'site')
-rw-r--r--site/docs/4.3/layout/grid.md14
1 files changed, 14 insertions, 0 deletions
diff --git a/site/docs/4.3/layout/grid.md b/site/docs/4.3/layout/grid.md
index 3b79360fe3..dbb7e00c5c 100644
--- a/site/docs/4.3/layout/grid.md
+++ b/site/docs/4.3/layout/grid.md
@@ -381,6 +381,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-4">
+ <div class="col">Column</div>
+ <div class="col">Column</div>
+ <div class="col-6">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 %}