Skip to content

Instantly share code, notes, and snippets.

@swapp1990
Created February 13, 2017 23:08
Show Gist options
  • Save swapp1990/6f281e04e5433414e78fa5b701830edf to your computer and use it in GitHub Desktop.
Save swapp1990/6f281e04e5433414e78fa5b701830edf to your computer and use it in GitHub Desktop.
Multiline Padding for List
<div class="fact-list">
<ul>
<li>
<span> List 1 </span>
</li>
<li>
<span> List 2 </span>
</li>
<li>
<span> List 3 here</span>
</li>
<li>
<span> List </span>
</li>
<li>
<span> Listhered 4 here </span>
</li>
<li>
<span> List 5 </span>
</li>
</ul>
</div>
.fact-list ul
{
list-style-type: none;
margin: 5px 5px 5px 5px;
padding: 0px;
width: 100px
}
.fact-list ul li {
display: inline;
padding: 0px 10px 0px 5px;
-webkit-box-decoration-break: clone;
box-decoration-break: clone;
}
.fact-list ul li a
{
text-decoration: none;
}
.fact-list ul li span
{
border-right: 1px solid #2c4762;
padding-right: 10px;
}
.fact-list ul li:nth-last-child(1) span{
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment