<input id="bookmark" type="checkbox" /> <label class="bookmark" for="bookmark"> <svg id="Bookmark" viewBox="0 0 10 22" xmlns="http://www.w3.org/2000/svg" height="24px" width="24px" class="bookmark-icon" > <g fill-rule="evenodd" fill="none"> <g
#bookmark[type="checkbox"] { position: absolute; opacity: 0; width: 0; height: 0; } .bookmark { overflow: hidden; position: absolute; left: calc(50% - 24px); top: calc(50% - 24px);