Skip to content

Instantly share code, notes, and snippets.

Created January 14, 2014 21:04
Show Gist options
  • Save anonymous/8425672 to your computer and use it in GitHub Desktop.
Save anonymous/8425672 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;
background:red;
margin:2px;
}
<!-- content to be placed inside <body>…</body> -->
<ul>
<li>Wooo</li>
<li>ASDAS</li>
<li>werw</li>
<li>dfdsasd</li>
<li>sdfsadfsd</li>
</ul>
// alert('Hello world!');
{"view":"split","fontsize":"100","seethrough":"","prefixfree":"1","page":"result"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment