Created
August 20, 2012 23:22
-
-
Save nrrrdcore/3409171 to your computer and use it in GitHub Desktop.
Simple Fix for the Webkit Clipped Border-Radius Bug
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
.list-container { | |
border-radius: 5px; | |
border: 1px solid #C5C5C5; | |
box-shadow: inset 0 1px 0 #FFF; | |
} | |
ol { | |
border: 1px solid transparent; | |
} | |
ol li { | |
margin: 0; | |
padding: 12px; | |
border: none; | |
border-bottom: 1px solid #CACACA; | |
box-shadow: inset 0 0 3px rgba(255,255,255,.3); | |
} | |
ol li:last-child { | |
border-bottom: 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 class="list-container"> | |
<ol> | |
<li>Thing One</li> | |
<li>Thing Two</li> | |
<li>Thing Red</li> | |
<li>Thing Blue</li> | |
</ol> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@fabianperez hack all of the things, always.