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

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -