Created
January 16, 2012 13:02
-
-
Save rhawbert/1620768 to your computer and use it in GitHub Desktop.
Untitled
This file contains hidden or 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
* { | |
margin:0; | |
padding:0; | |
} | |
div { | |
width:170px; | |
overflow:visible; | |
margin:100px; | |
background-color:red; | |
} | |
div a { | |
text-align:left; | |
position: relative; | |
left:-10px; | |
display: block; | |
padding: 10px 10px 10px 20px; | |
//background-color:pink; | |
background-image:url('http://nitrocorpz.mine.nu/left.gif');background-repeat:no-repeat; | |
background-size:contain; | |
background-clip:border-box; | |
background-position:0px 0;; | |
} |
This file contains hidden or 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> | |
<a href="#">teste de algo com muito texto pra fazer a coisa quebrar</a> | |
</div> | |
This file contains hidden or 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-vertical","prefixfree":"1","page":"css"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Try to use pseudo-classes.
Take a look at this solution and try to implement vertical resizing / dynamic stretching sort of behavior.
http://fiveforblogger.blogspot.com/2011/10/pure-css-read-more-arrow-button.html