aboutsummaryrefslogtreecommitdiff
path: root/scss
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2016-12-22 16:37:18 -0800
committerMark Otto <[email protected]>2016-12-22 16:37:18 -0800
commitd4217ea137c534dbbd7d32f58c5f700c63d5332c (patch)
tree57a3896b93dd71aa8bb0306b728ddbf036a38a40 /scss
parent736be8fca6e9633d788e39b6f1449496f5d8f0e2 (diff)
downloadbootstrap-d4217ea137c534dbbd7d32f58c5f700c63d5332c.tar.xz
bootstrap-d4217ea137c534dbbd7d32f58c5f700c63d5332c.zip
New width and height utils
Adding 25%, 50%, and 75% to the mix for later use with cards
Diffstat (limited to 'scss')
-rw-r--r--scss/utilities/_spacing.scss7
1 files changed, 7 insertions, 0 deletions
diff --git a/scss/utilities/_spacing.scss b/scss/utilities/_spacing.scss
index a8d8e0afb..9e1802c47 100644
--- a/scss/utilities/_spacing.scss
+++ b/scss/utilities/_spacing.scss
@@ -1,6 +1,13 @@
// Width and height
+.w-25 { width: 25% !important; }
+.w-50 { width: 50% !important; }
+.w-75 { width: 75% !important; }
.w-100 { width: 100% !important; }
+
+.h-25 { height: 25% !important; }
+.h-50 { height: 50% !important; }
+.h-75 { height: 75% !important; }
.h-100 { height: 100% !important; }
.mw-100 { max-width: 100% !important; }