diff options
author | Ian Grindley <ian@ignition-studios.com> | 2019-08-09 14:38:46 +0300 |
---|---|---|
committer | Ian Grindley <ian@ignition-studios.com> | 2019-08-09 14:38:46 +0300 |
commit | 26ffd50381fed6db672b265990caa12d4d98d272 (patch) | |
tree | 8a53a199bfd4ff6138f910e740e0f701b36bba16 | |
parent | 32a122385b3e78c532e770ff669798a2c8d36f66 (diff) |
Make column classes less verbose
.cols shorthand for .columns
[class~="col-"] Removes the need to add 'column' to the column class attribute
-rw-r--r-- | src/_layout.scss | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/_layout.scss b/src/_layout.scss index 1f6b77c..e6bad9a 100644 --- a/src/_layout.scss +++ b/src/_layout.scss @@ -39,6 +39,7 @@ } // Responsive grid system +.cols, .columns { display: flex; flex-wrap: wrap; @@ -59,6 +60,7 @@ overflow-x: auto; } } +[class~="col-"], .column { flex: 1; max-width: 100%; |