Created
February 20, 2012 17:20
-
-
Save crecotun/1870181 to your computer and use it in GitHub Desktop.
Untitled
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
* { | |
margin: 0; | |
padding: 0; | |
} | |
div { | |
border-radius: 5px; | |
border: 1px solid #787878; | |
border-bottom: 0; | |
position:relative; | |
width: 100px; | |
} | |
div:before { | |
position: absolute; | |
bottom: 0px; | |
left:0px; | |
border-radius: 5px; | |
border-bottom: 1px solid #787878; | |
content: ''; | |
height: 5px; | |
width: 100px; | |
} | |
ul { | |
list-style:none; | |
border-radius: 5px; | |
overflow:hidden; | |
} | |
ul li { | |
height: 50px; | |
border-bottom: 1px solid #ccc; | |
} | |
ul li.yellow { | |
background: yellow; | |
} |
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> | |
<ul> | |
<li>1</li> | |
<li class="yellow">2</li> | |
</ul> | |
</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-vertical","prefixfree":"1","page":"css"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment