Created
February 10, 2015 07:17
-
-
Save pankajpatel/5cb0be09bc4584559805 to your computer and use it in GitHub Desktop.
List Customisation Fallback
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ul class="list-fallback"> | |
<li><span>-</span>Lorem ipsum dolor sit amet, consectetur adipisicing</li> | |
<li><span>+</span>tempor incididunt ut labore et dolore magna aliqua</li> | |
<li><span>#</span>quis nostrud exercitation ullamco laboris nisi ut</li> | |
<li><span>+</span>consequat. Duis aute irure dolor in reprehenderit</li> | |
<li><span>-</span>cillum dolore eu fugiat nulla pariatur. Excepteur</li> | |
<li><span>+</span>proident, sunt in culpa qui officia deserunt mollit</li> | |
<li><span>#</span>quis nostrud exercitation ullamco laboris nisi ut</li> | |
<li><span>+</span>consequat. Duis aute irure dolor in reprehenderit</li> | |
<li><span>-</span>cillum dolore eu fugiat nulla pariatur. Excepteur</li> | |
<li><span>+</span>proident, sunt in culpa qui officia deserunt mollit</li> | |
</ul> | |
<style> | |
.list-fallback{ | |
list-style: none; | |
padding: 0; | |
} | |
.list-fallback > li{ | |
margin: 4px 0; | |
} | |
.list-fallback > li span{ | |
display: inline-block; | |
font-weight: bold; | |
margin-right: 4px; | |
width: 16px; | |
height: 16px; | |
font-size: 16px; | |
text-align: center; | |
line-height: 16px; | |
} | |
</style> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment