Skip to content

Instantly share code, notes, and snippets.

@satansdeer
Created August 12, 2018 15:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save satansdeer/d062f1a61d0b3511eb3e61fa2d38eccd to your computer and use it in GitHub Desktop.
Save satansdeer/d062f1a61d0b3511eb3e61fa2d38eccd to your computer and use it in GitHub Desktop.
.list {
color: #333;
text-align: left;
list-style-type: none;
font-size: 24px;
padding: 0;
flex: 1;
margin: 0;
}
.list-item {
padding-left: 20px;
cursor: pointer;
position: relative;
}
.list-item.is-selected:after {
background: url('checkmark.svg');
background-size: 100%;
content: ' ';
display: block;
height: 15px;
left: -4px;
position: absolute;
top: 12px;
width: 15px;
}
.list-item.is-selected {
color: #5A56FD;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment