Created
March 7, 2018 12:10
-
-
Save nternetinspired/6ccd34c4746e30f7bde897d89152ebbc to your computer and use it in GitHub Desktop.
Coloured bullets
This file contains hidden or 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 > li { | |
list-style-type: none; // Hide the real bullets | |
position: relative; | |
} | |
// Replace the hidden bullets with inserted bullets. Because CSS. | |
ul > li::before { | |
color: #bada55; | |
content: '•'; | |
display: inline-block; | |
left: -.75em; | |
position: absolute; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment