<div class="bookmark-checkbox"> <input type="checkbox" id="bookmark-toggle" class="bookmark-checkbox__input" /> <label for="bookmark-toggle" class="bookmark-checkbox__label"> <svg class="bookmark-checkbox__icon" viewBox="0 0 24 24"> <path class="bookmark-checkbox__icon-back" d="M19 21l-7-5-7 5V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2z" ></path>
.bookmark-checkbox { display: inline-block; } .bookmark-checkbox__input { display: none; } .bookmark-checkbox__label { cursor: pointer; }