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 inputsWith .compact #
.compactThe .compact composite class provides tighter sizing
with smaller fonts, inputs, padding, border radii, and flow margins. Apply directly or on a container
to cascade to children.
<form class="compact">
...
</form>