Skip to content

Instantly share code, notes, and snippets.

@Usse
Forked from anonymous/dabblet.css
Created January 14, 2014 21:07
Show Gist options
  • Save Usse/8425724 to your computer and use it in GitHub Desktop.
Save Usse/8425724 to your computer and use it in GitHub Desktop.
Multiple line li center
/**
* Multiple line li center
*/
ul {
list-style-type:none;
text-align:center;
}
li {
display:inline-block;
width:250px;
height:200px;
line-height:200px;
background:#453456;
color:white;
text-shadow : 2px 2px 2px black;
margin:2px;
}
<!-- content to be placed inside <body>…</body> -->
<ul>
<li>First</li>
<li>Second</li>
<li>Third</li>
<li>Fourth</li>
<li>Fifth</li>
</ul>
// alert('Hello world!');
{"view":"split","fontsize":"100","seethrough":"","prefixfree":"1","page":"css"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment