summaryrefslogtreecommitdiff
path: root/bootstrap/fonts/less/mixins/center-block.less
diff options
context:
space:
mode:
Diffstat (limited to 'bootstrap/fonts/less/mixins/center-block.less')
-rwxr-xr-xbootstrap/fonts/less/mixins/center-block.less7
1 files changed, 7 insertions, 0 deletions
diff --git a/bootstrap/fonts/less/mixins/center-block.less b/bootstrap/fonts/less/mixins/center-block.less
new file mode 100755
index 0000000..627cfa3
--- /dev/null
+++ b/bootstrap/fonts/less/mixins/center-block.less
@@ -0,0 +1,7 @@
+// Center-align a block level element
+
+.center-block() {
+ display: block;
+ margin-right: auto;
+ margin-left: auto;
+}