<div class="checkbox-wrapper"> <input type="checkbox" checked="" /> <svg viewBox="0 0 35.6 35.6"> <circle r="17.8" cy="17.8" cx="17.8" class="background"></circle> <circle r="14.37" cy="17.8" cx="17.8" class="stroke"></circle> <polyline points="11.78 18.12 15.55 22.23 25.17 12.87" class="check" ></polyline> </svg> </div>
.checkbox-wrapper:hover .check { stroke-dashoffset: 0; } .checkbox-wrapper { position: relative; display: inline-block; width: 40px; height: 40px; } .checkbox-wrapper .background {