Skip to content

Instantly share code, notes, and snippets.

@tarecord
Created September 3, 2020 16:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save tarecord/2ae9e6c2bb32cee4a9df5989e4f7f660 to your computer and use it in GitHub Desktop.
Save tarecord/2ae9e6c2bb32cee4a9df5989e4f7f660 to your computer and use it in GitHub Desktop.
ul li {
// Remove the old list style.
list-style: none;
position: relative;
}
ul li:before {
content: '';
// Position the pseudo element relative to each list item.
position: absolute;
left: -18px;
top: 7px;
// Style the new bullet.
background-color: rgba(124,123,162,1);
height: 10px;
width: 10px;
// Round the shape to a circle
border-radius: 50%;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment