Skip to content

Instantly share code, notes, and snippets.

@nternetinspired
Created March 7, 2018 12:10
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nternetinspired/6ccd34c4746e30f7bde897d89152ebbc to your computer and use it in GitHub Desktop.
Save nternetinspired/6ccd34c4746e30f7bde897d89152ebbc to your computer and use it in GitHub Desktop.
Coloured bullets
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