1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-22 05:03:16 +02:00

add mixin for text-overflow

This commit is contained in:
Mark Otto
2012-02-05 01:49:36 -08:00
parent f59b7ce8ea
commit 53da88e561
2 changed files with 9 additions and 0 deletions

Binary file not shown.

View File

@@ -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