summaryrefslogtreecommitdiffstats
path: root/resources/scss/bootstrap/mixins/_center-block.scss
diff options
context:
space:
mode:
Diffstat (limited to 'resources/scss/bootstrap/mixins/_center-block.scss')
-rw-r--r--resources/scss/bootstrap/mixins/_center-block.scss7
1 files changed, 7 insertions, 0 deletions
diff --git a/resources/scss/bootstrap/mixins/_center-block.scss b/resources/scss/bootstrap/mixins/_center-block.scss
new file mode 100644
index 0000000..e06fb5e
--- /dev/null
+++ b/resources/scss/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;
+}