Created
May 2, 2013 22:33
-
-
Save Poltergeist/5505996 to your computer and use it in GitHub Desktop.
The first commented line is your dabblet’s title
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
/** | |
* The first commented line is your dabblet’s title | |
*/ | |
div{ | |
font-size:1em; | |
width:180px; | |
line-height:1em; | |
max-height:2em; | |
overflow:hidden; | |
position:relative; | |
} | |
div:after{ | |
position:absolute; | |
background: #fff; | |
height:1em; | |
width:auto; | |
bottom:0; | |
right:0; | |
width:15px; | |
content:'...'; | |
} | |
div:hover{ | |
max-height:none; | |
} | |
div:hover:after{ | |
display:none; | |
} |
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>an einem schönen tag sagte einmal ein junger bauer moin was geht</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
// alert('Hello world!'); |
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","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