1
0
mirror of https://github.com/tabler/tabler.git synced 2026-07-30 23:14:39 +04:00

custom form elements

This commit is contained in:
chomik
2019-05-20 23:38:12 +02:00
parent 7389d5bbca
commit a0e91635c7
5 changed files with 1345 additions and 114 deletions
+13 -19
View File
@@ -1,21 +1,15 @@
<div class="form-group">
<div class="form-label">Toggle switches</div>
<div class="custom-switches-stacked">
<label class="custom-switch">
<input type="radio" name="option" value="1" class="custom-switch-input" checked>
<span class="custom-switch-indicator"></span>
<span class="custom-switch-description">Option 1</span>
</label>
<label class="custom-switch">
<input type="radio" name="option" value="2" class="custom-switch-input">
<span class="custom-switch-indicator"></span>
<span class="custom-switch-description">Option 2</span>
</label>
<label class="custom-switch">
<input type="radio" name="option" value="3" class="custom-switch-input">
<span class="custom-switch-indicator"></span>
<span class="custom-switch-description">Option 3</span>
</label>
</div>
</div>
<label class="custom-control custom-switch">
<input type="checkbox" class="custom-control-input">
<div class="custom-control-label">Option 1</div>
</label>
<label class="custom-control custom-switch">
<input type="checkbox" class="custom-control-input">
<div class="custom-control-label">Option 2</div>
</label>
<label class="custom-control custom-switch">
<input type="checkbox" class="custom-control-input">
<div class="custom-control-label">Option 3</div>
</label>
</div>