Skip to content

Instantly share code, notes, and snippets.

@vennsoh
Created August 29, 2012 02:12
Show Gist options
  • Save vennsoh/3506116 to your computer and use it in GitHub Desktop.
Save vennsoh/3506116 to your computer and use it in GitHub Desktop.
The first commented line is your dabblet’s title
/**
* The first commented line is your dabblet’s title
*/
.container{
text-align:center;
}
.container li{
display: table-cell;
vertical-align:middle;
list-style:none;
float:left;
width: 50px;
height: 50px;
vertical-align: middle;
border: 1px solid;
margin-right:4px;
background-color: red;
}
<!-- content to be placed inside <body>…</body> -->
<ul class="container">
<li>test</li>
<li>test</li>
<li>test</li>
</ul>
{"view":"separate","fontsize":"80","seethrough":"","prefixfree":"1","page":"all"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment