diff options
| author | Mark Otto <[email protected]> | 2012-02-05 01:49:36 -0800 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2012-02-05 01:49:36 -0800 |
| commit | 53da88e561abf4a5802188ff1901e6915b85c18b (patch) | |
| tree | 6bd3a91e2922b106c8f7c75c85cb788d16014898 | |
| parent | f59b7ce8ea0051287488ff2119dc29a066429eaa (diff) | |
| download | bootstrap-53da88e561abf4a5802188ff1901e6915b85c18b.tar.xz bootstrap-53da88e561abf4a5802188ff1901e6915b85c18b.zip | |
add mixin for text-overflow
| -rw-r--r-- | docs/assets/bootstrap.zip | bin | 52391 -> 52391 bytes | |||
| -rw-r--r-- | less/mixins.less | 9 |
2 files changed, 9 insertions, 0 deletions
diff --git a/docs/assets/bootstrap.zip b/docs/assets/bootstrap.zip Binary files differindex d066288f0..0376cba14 100644 --- a/docs/assets/bootstrap.zip +++ b/docs/assets/bootstrap.zip 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 |
