You are here

29 June 2016

This snippet shows how to convert checkbox type inputs to MDL (Material Design Lite). There are separate classes for checkboxes in Material Design.

Source code viewer
  1. <label class="mdl-checkbox mdl-js-checkbox" for="ID">
  2. <input name="NAME" type="checkbox" id="ID" class="mdl-checkbox__input" />
  3. <span class="mdl-checkbox__label">LABEL</span>
Programming Language: HTML