Created
January 25, 2012 16:13
-
-
Save anonymous/1677004 to your computer and use it in GitHub Desktop.
Overflow test
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
/** | |
* Overflow test | |
*/ | |
#one { | |
margin: 100px auto 0 auto; | |
font-size: 40px; | |
background: #ddd; | |
padding: 10px; | |
width: 500px; | |
overflow: hidden; | |
-ms-text-overflow: ellipsis; | |
-o-text-overflow: ellipsis; | |
text-overflow: ellipsis; | |
white-space: nowrap; | |
} |
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
<div id="one"> | |
lorem ipsum motherfucker, yeah, that's how I roll | |
</div> |
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":"split","prefixfree":"","page":"css"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment