Created
April 16, 2019 20:17
-
-
Save mzykin/35a9b2c058f7f25c169ab82047757203 to your computer and use it in GitHub Desktop.
Unordered list with custom checkmarks
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.checks { | |
margin-left: 0; | |
li { | |
list-style-type: none; | |
margin-bottom: 20px; | |
&::before { | |
content: ''; | |
background-image: url('data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20512%20512%22%3E%3Cpath%20d%3D%22M173.898%20439.404l-166.4-166.4c-9.997-9.997-9.997-26.206%200-36.204l36.203-36.204c9.997-9.998%2026.207-9.998%2036.204%200L192%20312.69%20432.095%2072.596c9.997-9.997%2026.207-9.997%2036.204%200l36.203%2036.204c9.997%209.997%209.997%2026.206%200%2036.204l-294.4%20294.401c-9.998%209.997-26.207%209.997-36.204-.001z%22%2F%3E%3C%2Fsvg%3E'); | |
width: 10px; | |
height: 25px; | |
background-repeat: no-repeat; | |
background-position: center; | |
display: inline-block; | |
margin-right: 15px; | |
float: left; | |
opacity: 0.3; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment