forms #
Form elements have basic default styles that can be omitted with .unstyled.
#
<form>
<fieldset>
<legend>
a <MdnLink path="Web/HTML/Element/legend" />
</legend>
<label>
<div class="title">
username
</div>
<input
bind:value={username}
placeholder=">"
/>
</label>
...
</fieldset>
...
</form> form with range input #
form with range inputform with checkboxes #
form with checkboxesform with radio inputs #
form with radio inputsSize composites #
The size composite classes .xs, .sm, .md, .lg, and .xl scale
inputs and buttons, adjusting height and padding. Apply directly or on a container to cascade to
children.
<input class="xs" />
<input class="sm" />
<input />
<input class="lg" />
<input class="xl" /> Set on a container and children inherit the sizing:
<form class="xs">...</form>