From f597e2fe949a1e18eb778b9a5bd102de88570555 Mon Sep 17 00:00:00 2001 From: Max Date: Thu, 18 May 2017 14:03:27 +0200 Subject: Initial commit. --- src/sass/bootstrap4/mixins/_text-truncate.scss | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 src/sass/bootstrap4/mixins/_text-truncate.scss (limited to 'src/sass/bootstrap4/mixins/_text-truncate.scss') diff --git a/src/sass/bootstrap4/mixins/_text-truncate.scss b/src/sass/bootstrap4/mixins/_text-truncate.scss new file mode 100644 index 0000000..5a40bf5 --- /dev/null +++ b/src/sass/bootstrap4/mixins/_text-truncate.scss @@ -0,0 +1,8 @@ +// Text truncate +// Requires inline-block or block for proper styling + +@mixin text-truncate() { + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; +} \ No newline at end of file -- cgit v1.2.3