Tsallaka zuwa abun ciki
Justice Tech School

Select, Checks and Switches

Use .form-select for dropdowns, .form-check with .form-check-input for checkboxes and radios and .form-switch for toggles.

Example
<select class="form-select"><option>One</option><option>Two</option></select>
<div class="form-check form-switch">
  <input class="form-check-input" type="checkbox" id="s">
  <label class="form-check-label" for="s">Notifications</label>
</div>

Exercise

Switch class.

form-

Quiz Test

Which class styles a select?

These free lessons are for learning. Join a full course for projects, mentor feedback and a verified certificate.