Created
August 23, 2013 14:41
-
-
Save megantaylor/6320082 to your computer and use it in GitHub Desktop.
Defining the color of bullets in a list without using an image or span tag
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 { | |
list-style: none; | |
padding:0; | |
margin:0; | |
} | |
li { | |
padding-left: 1em; | |
text-indent: -.7em; | |
} | |
li:before { | |
content: "• "; | |
color: red; /* or whatever color you prefer */ | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment