Add switch class for checkboxes (fixes #70)
This commit is contained in:
@ -334,6 +334,36 @@ Available variables are:
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
With `switch` class:
|
||||
|
||||
```html
|
||||
<input class="switch" type="checkbox" />
|
||||
<label>Checkbox</label>
|
||||
```
|
||||
|
||||
<ul>
|
||||
<li>
|
||||
<input class="switch" type="checkbox" />
|
||||
<label> Milk</label>
|
||||
</li>
|
||||
<li>
|
||||
<input class="switch" type="checkbox" />
|
||||
<label> Eggs</label>
|
||||
</li>
|
||||
<li>
|
||||
<input class="switch" type="checkbox" />
|
||||
<label> Flour</label>
|
||||
</li>
|
||||
<li>
|
||||
<input class="switch" type="checkbox" checked />
|
||||
<label> Coffee</label>
|
||||
</li>
|
||||
<li>
|
||||
<input class="switch" type="checkbox" disabled />
|
||||
<label> Combustible lemons</label>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
With `radio` type:
|
||||
|
||||
```html
|
||||
|
Reference in New Issue
Block a user