<div class="bookmark-checkbox"> <input class="bookmark-checkbox__input" id="bookmark-toggle" type="checkbox" /> <label class="bookmark-checkbox__label" for="bookmark-toggle"> <svg viewBox="0 0 24 24" class="bookmark-checkbox__icon"> <defs> <linearGradient y2="100%" x2="100%" y1="0%" x1="0%" id="gradientFill"> <stop style="stop-color:#ff5a5f;stop-opacity:1" offset="0%"></stop> <stop style="stop-color:#ff9a44;stop-opacity:1" offset="100%"></stop>
.bookmark-checkbox { display: inline-block; position: relative; } .bookmark-checkbox__input { display: none; } .bookmark-checkbox__label { cursor: pointer; display: inline-flex;