diff options
Diffstat (limited to 'bootstrap/less/mixins/text-overflow.less')
-rwxr-xr-x | bootstrap/less/mixins/text-overflow.less | 8 |
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; +} |