For better control, but also more cumbersome syntax, take a look at flexbox columns.
Flexbox columns
-
TODO
+
Start by making an element into a row by ading the class row
+followed by one of the row-… classes that identifies how many
+columns the row should have:
The columns are stacked with the first column above and the second below
+and so forth. By using the class stacks-reverse-1024 instead,
+the stack order is reversed.
+
The classes stacks-normal-768 and
+stacks-reverse-768 works the same but for widths lessthan 768 px.
+
By default, with exception for <input>, any element put in columns gets
+0.5 rem padding, 0 margin, border-box sizing and block display. Moreover, list
+items get its bullet or number placed inside the bounding box.
+
By adding the class has-no-gutter on a column or a row,
+this default behaviour is stopped for the column or row, respectively.
By adding has-no-gutter-left or has-no-gutter-right
+on a column, the left or right padding, respectively, is removed for all
+objects in that column.
+
By adding has-no-gutter-top or has-no-gutter-bottom
+on a row, the top or bottom padding, respectively, is removed for all
+objects in columns of that row..
diff --git a/kntnt-css-framework/flexbox-columns.css b/kntnt-css-framework/flexbox-columns.css
new file mode 100644
index 0000000..43f3aec
--- /dev/null
+++ b/kntnt-css-framework/flexbox-columns.css
@@ -0,0 +1,343 @@
+/**
+ * Kntnt CSS Framework – https://github.com/Kntnt/kntnt-css-framework
+ *
+ * SPDX-FileCopyrightText: 2021 Kntnt Sweden AB
+ * SPDX-License-Identifier: MIT
+ *
+* Start by making an element into a row by ading the class `row` followed by one of the `row-…` classes that identifies how many columns the row should have:
+ *
+ *
+ * …
+ *
+ *
+ * Create the required number of columns:
+ *
+ *
+ *
+ * …
+ *
+ *
+ * …
+ *
+ *
+ * …
+ *
+ *
+ *
+ * Finally, create desired number of cells in each column:
+ *
+ *
+ *
+ *
…
+ *
…
+ * …
+ *
…
+ *
+ *
+ * …
+ *
+ *
+ * …
+ *
+ *
+ *
+ * It's possible to add rows in columns like this:
+ *
+ *
+ *
+ *
+ *
+ * …
+ *
+ *
+ * …
+ *
+ *
+ *
+ *
+ * …
+ *
+ *
+ *
+ * The class `stacks-normal-1024` makes columns stack on top of each other if the wide is smaller than 1024 px:
+ *
+ *
+ *
+ * …
+ *
+ *
+ * …
+ *
+ *
+ *
+ * The columns are stacked with the first column above and the second below and so forth. By using the class `stacks-reverse-1024` instead, the stack order is reversed.
+ *
+ * The classes `stacks-normal-768` and `stacks-reverse-768` works the same but for widths lessthan 768 px.
+ *
+ * By default, with exception for ``, any element put in columns gets 0.5 rem padding, 0 margin, border-box sizing and block display. Moreover, list items get its bullet or number placed inside the bounding box.
+ *
+ * By adding the class `has-no-gutter` on a column or a row, this default behaviour is stopped for the column or row, respectively.
+ *
+ *
+ * …
+ *
+ *
+ * By adding `has-no-gutter-left` or `has-no-gutter-right` on a column, the left or right padding, respectively, is removed for all objects in that column.
+ *
+ * By adding `has-no-gutter-top` or `has-no-gutter-bottom` on a row, the top or bottom padding, respectively, is removed for all objects in columns of that row.
+ *
+ * Example:
+ *
+ *