I’m trying to figure this out as well. I found a custom checkbox/radio generator that uses both css and html. What do I need to change on it (ex: .fluent_form_1), and where do I put the html?
HTML:
<label class="checkbox">
<input type="checkbox" />
<span>Check Me</span>
</label>
CSS:
.checkbox {
display: inline-flex;
cursor: pointer;
position: relative;
}
.checkbox > span {
color: #34495E;
padding: 0.5rem 0.25rem;
}
.checkbox > input {
height: 25px;
width: 25px;
-webkit-appearance: none;
-moz-appearance: none;
-o-appearance: none;
appearance: none;
border: 1px solid #ff9933;
border-radius: 4px;
outline: none;
transition-duration: 0.3s;
background-color: #fff;
cursor: pointer;
}
.checkbox > input:checked {
border: 1px solid #ff9933;
background-color: #fff;
}
.checkbox > input:checked + span::before {
content: '\2713';
display: block;
text-align: center;
color: #ff9933;
position: absolute;
left: 0.7rem;
top: 0.2rem;
}
.checkbox > input:active {
border: 2px solid #ff9933;
}
I’m trying to follow instructions found HERE.