I believe the customized checkbox and radio button are done and working. Just need to give them a good theme.

This commit is contained in:
2025-01-24 00:27:56 -06:00
parent 9c351d19a2
commit 231949c4dd
3 changed files with 143 additions and 22 deletions
+15 -2
View File
@@ -71,8 +71,8 @@
<label class="checkmark" for="checkbox2">Two II</label>
<input type="checkbox" id="checkbox3" checked />
<label class="checkmark" for="checkbox3">Three 三</label>
<input type="checkbox" id="checkbox4" />
<label class="checkmark" for="checkbox4">Four GTA IV</label>
<input type="checkbox" id="checkbox4" disabled checked/>
<label class="checkmark" for="checkbox4" class="form-control--disabled">Four GTA IV</label>
</div>
</fieldset>
<fieldset>
@@ -86,6 +86,19 @@
<label for="radio3">Reverend Father</label>
</div>
</fieldset>
<fieldset>
<legend>Radio Button States</legend>
<div class="flex">
<input type="radio" id="radio99" disabled checked name="Readonly" />
<label for="radio99">Readonly One</label>
<input type="radio" id="radio98" disabled name="Readonly" />
<label for="radio98">Readonly Two</label>
<input type="radio" id="radio97" checked name="toggle" />
<label for="radio97">Yes</label>
<input type="radio" id="radio96" checked name="toggle" />
<label for="radio96">No</label>
</div>
</fieldset>
</footer>
</div>
</body>