Created
June 11, 2012 18:18
-
-
Save gunnarbittersmann/2911728 to your computer and use it in GitHub Desktop.
truncate left
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* truncate left | |
*/ | |
p | |
{ | |
direction: rtl; | |
overflow: hidden; | |
text-align:end; | |
text-overflow: ellipsis; | |
white-space: nowrap; | |
width: 13em; | |
} | |
span | |
{ | |
direction: ltr; | |
unicode-bidi: embed; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<p><span>Langer Text, der abgeschnitten wird!</span></p> | |
<p><span>Kurzer Text!</span></p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"view":"separate","fontsize":"100","seethrough":"","prefixfree":"1","page":"all"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment