Skip to content

Instantly share code, notes, and snippets.

@crecotun
Created February 20, 2012 17:20
Show Gist options
  • Save crecotun/1870181 to your computer and use it in GitHub Desktop.
Save crecotun/1870181 to your computer and use it in GitHub Desktop.
Untitled
* {
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;
}
<div>
<ul>
<li>1</li>
<li class="yellow">2</li>
</ul>
</div>
{"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