From 3f6a9546ec13063d0d5bdf21d30a93d3e8aa6050 Mon Sep 17 00:00:00 2001 From: Bradley Taunt Date: Tue, 2 Jul 2024 14:22:21 -0400 Subject: Rebuild changes based off latest barf --- build/posts/te/index.html | 53 ----------------------------------------------- 1 file changed, 53 deletions(-) delete mode 100644 build/posts/te/index.html (limited to 'build/posts/te/index.html') diff --git a/build/posts/te/index.html b/build/posts/te/index.html deleted file mode 100644 index b442bd7..0000000 --- a/build/posts/te/index.html +++ /dev/null @@ -1,53 +0,0 @@ - - - - - - - - The Wonders of Text Ellipsis - - - - - - - -
-

The Wonders of Text Ellipsis

-

2016-11-15

-

A common issue when working with constrained UI elements is text overflowing outside of it’s parent or breaking into addition lines (thus breaking the layout).

-

This is most commonly seen with the direct and placeholder values for input fields on form elements. For example, the following input placeholder will be cutoff from the user’s view:

-

CodePen live example

-

Luckily, 3 simple CSS parameters can fix this.

-
input::placeholder {
-    overflow: hidden;
-    text-overflow: ellipsis;
-    white-space: nowrap;
-}
-
-

This allows the user to understand there is more content cut out from their current view. It’s not ideal to ever have content overflowing outside of the parent container, but if you need to the best workaround is to use text-overflow.

- \ No newline at end of file -- cgit v1.2.3-54-g00ecf