While you can use empty columns (like <div class="column"></div>) to create horizontal space around .column elements, you can also use .is-centered on the parent .columns element:
+
diff --git a/docs/documentation/grid/columns.html b/docs/documentation/grid/columns.html index 8a508361..460586e3 100644 --- a/docs/documentation/grid/columns.html +++ b/docs/documentation/grid/columns.html @@ -494,6 +494,103 @@ doc-subtab: columns {% endhighlight %} +
While you can use empty columns (like <div class="column"></div>) to create horizontal space around .column elements, you can also use .is-centered on the parent .columns element:
+
+ is-half
+ is-narrow
+
+ is-half
+ is-narrow
+
Use with .is-multiline to create a flexible, centered list (try resizing to see centering in different viewport sizes):
+
+ is-narrow
+ First Column
+
+ is-narrow
+ Our Second Column
+
+ is-narrow
+ Third Column
+
+ is-narrow
+ The Fourth Column
+
+ is-narrow
+ Fifth Column
+
+ is-narrow
+ First Column
+
+ is-narrow
+ Our Second Column
+
+ is-narrow
+ Third Column
+
+ is-narrow
+ The Fourth Column
+
+ is-narrow
+ Fifth Column
+