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