html - Change color of checkbox in Materialize framework -
i working materialize framework , wondering possible change colour of filled-in checkbox green on default.
<input type="checkbox" class="filled-in" id="filled-in-box" checked="checked" /> <label for="filled-in-box">filled in</label>
any ideas appreciated. thanks
add class checkbox input style after pseudo-element of label
.checkbox-orange[type="checkbox"].filled-in:checked + label:after{ border: 2px solid #ff9800; background-color: #ff9800; }
<input type="checkbox" class="filled-in checkbox-orange" id="filled-in-box" checked="checked" /> <label for="filled-in-box"></label>
Comments
Post a Comment