summaryrefslogtreecommitdiff
path: root/src/sass/bootstrap3/bootstrap/mixins/_text-overflow.scss
diff options
context:
space:
mode:
authorMax2017-05-18 14:03:27 +0200
committerMax2017-05-18 14:03:27 +0200
commitf597e2fe949a1e18eb778b9a5bd102de88570555 (patch)
tree7e42e6f91dd3e764cd2cf0c4f61f48501c2ed98f /src/sass/bootstrap3/bootstrap/mixins/_text-overflow.scss
downloaddocs.maxmail.xyz-master.tar.gz
Initial commit.HEADmaster
Diffstat (limited to 'src/sass/bootstrap3/bootstrap/mixins/_text-overflow.scss')
-rw-r--r--src/sass/bootstrap3/bootstrap/mixins/_text-overflow.scss8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/sass/bootstrap3/bootstrap/mixins/_text-overflow.scss b/src/sass/bootstrap3/bootstrap/mixins/_text-overflow.scss
new file mode 100644
index 0000000..1593b25
--- /dev/null
+++ b/src/sass/bootstrap3/bootstrap/mixins/_text-overflow.scss
@@ -0,0 +1,8 @@
+// Text overflow
+// Requires inline-block or block for proper styling
+
+@mixin text-overflow() {
+ overflow: hidden;
+ text-overflow: ellipsis;
+ white-space: nowrap;
+}