aboutsummaryrefslogtreecommitdiff
path: root/assets/css/lib/bootstrap/mixins/_center-block.scss
diff options
context:
space:
mode:
Diffstat (limited to 'assets/css/lib/bootstrap/mixins/_center-block.scss')
-rw-r--r--assets/css/lib/bootstrap/mixins/_center-block.scss7
1 files changed, 7 insertions, 0 deletions
diff --git a/assets/css/lib/bootstrap/mixins/_center-block.scss b/assets/css/lib/bootstrap/mixins/_center-block.scss
new file mode 100644
index 0000000..e06fb5e
--- /dev/null
+++ b/assets/css/lib/bootstrap/mixins/_center-block.scss
@@ -0,0 +1,7 @@
+// Center-align a block level element
+
+@mixin center-block() {
+ display: block;
+ margin-left: auto;
+ margin-right: auto;
+}