summaryrefslogtreecommitdiff
path: root/bootstrap/fonts/less/mixins/text-overflow.less
diff options
context:
space:
mode:
Diffstat (limited to 'bootstrap/fonts/less/mixins/text-overflow.less')
-rwxr-xr-xbootstrap/fonts/less/mixins/text-overflow.less8
1 files changed, 8 insertions, 0 deletions
diff --git a/bootstrap/fonts/less/mixins/text-overflow.less b/bootstrap/fonts/less/mixins/text-overflow.less
new file mode 100755
index 0000000..c11ad2f
--- /dev/null
+++ b/bootstrap/fonts/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;
+}