aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2012-02-05 01:49:36 -0800
committerMark Otto <[email protected]>2012-02-05 01:49:36 -0800
commit53da88e561abf4a5802188ff1901e6915b85c18b (patch)
tree6bd3a91e2922b106c8f7c75c85cb788d16014898
parentf59b7ce8ea0051287488ff2119dc29a066429eaa (diff)
downloadbootstrap-53da88e561abf4a5802188ff1901e6915b85c18b.tar.xz
bootstrap-53da88e561abf4a5802188ff1901e6915b85c18b.zip
add mixin for text-overflow
-rw-r--r--docs/assets/bootstrap.zipbin52391 -> 52391 bytes
-rw-r--r--less/mixins.less9
2 files changed, 9 insertions, 0 deletions
diff --git a/docs/assets/bootstrap.zip b/docs/assets/bootstrap.zip
index d066288f0..0376cba14 100644
--- a/docs/assets/bootstrap.zip
+++ b/docs/assets/bootstrap.zip
Binary files differ
diff --git a/less/mixins.less b/less/mixins.less
index 545ccb9ba..95292a6f2 100644
--- a/less/mixins.less
+++ b/less/mixins.less
@@ -89,6 +89,15 @@
}
}
+// Text overflow
+// -------------------------
+// Requires inline-block or block for proper styling
+.text-overflow() {
+ overflow: hidden;
+ text-overflow: ellipsis;
+ white-space: nowrap;
+}
+
// FONTS