Is it possible to display the value stored in an attribute as a label for a button that is really just a checkbox made to look like a button? <div class="efctog blueBackground section">
<input type="checkbox" name="attr_effect_checkbox" value="1" class="effect" title="@{effect_checkbox}"/> <span title="@{effect_name}></span>
</div>
input.sheet-effect {
cursor: pointer; width: 54px;
z-index: 1; height: 28px;
opacity: 0;}
input.sheet-effect + span::before {
background-image: linear-gradient(to top left, #adbbff, #001a9c); /* blue */
color: white; width: 54px;
content: attr(title); height: 28px;
display: inline-block; margin-left: -56px;
text-align: center; font-size: 14px; margin-top: 1px;
font-weight: 600; padding-top: 8px;}
input.sheet-effect:hover + span::before {
background-image: linear-gradient(to top left, #ff69fa, #5c0959) !important; /* violet */
color: white !important;}
input.sheet-effect:checked + span::before {
color: black; background-image: linear-gradient(to top left, #fff65e, #948d13); /* yellow */}
input.sheet-effect:active + span::before {
background-image: linear-gradient(to top left, #ffffff, #bfbfbf) !important; /* white */
color: black !important;}