summaryrefslogtreecommitdiff
path: root/bootstrap/less/mixins/text-overflow.less
diff options
context:
space:
mode:
Diffstat (limited to 'bootstrap/less/mixins/text-overflow.less')
-rwxr-xr-xbootstrap/less/mixins/text-overflow.less8
1 files changed, 8 insertions, 0 deletions
diff --git a/bootstrap/less/mixins/text-overflow.less b/bootstrap/less/mixins/text-overflow.less
new file mode 100755
index 0000000..c11ad2f
--- /dev/null
+++ b/bootstrap/less/mixins/text-overflow.less
@@ -0,0 +1,8 @@
+// Text overflow
+// Requires inline-block or block for proper styling
+
+.text-overflow() {
+ overflow: hidden;
+ text-overflow: ellipsis;
+ white-space: nowrap;
+}