In the form you need to make a similar checkbox
How to better implement this is an idea like this:
input[type="checkbox"] { display:none; } input[type="checkbox"] + label{ cursor: pointer; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; -webkit-box-orient: horizontal; -webkit-box-direction: normal; -webkit-flex-direction: row; -ms-flex-direction: row; flex-direction: row; -webkit-box-pack: center; -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; margin-bottom: 41px; } label{ margin: 0; color: @gray4; font-size: 15px; font-weight: 400; } input[type="checkbox"] + label::before{ content: ""; display: inline-block; height: 28px; width: 28px; border-radius: 4px; background: @blue1 no-repeat center center; margin-right: 12px; } input[type="checkbox"]:checked + label::before { background-image: url('../img/checked.png'); } That is the basic idea on the pseudo-class before , but I want to know how best?