← Back to jqmin

jqmin.css examples GitHub issue

Basic example GitHub issue

Captain on the bridge:
Captain on the bridge:

<label class="custom-checkbox">
	<input type="checkbox">
	<span>✔</span>
	<span>❌</span>
</label>

Embedded prompt GitHub issue

Prompt inside the label, wrapped in a span (gives the prompt a CSS hook):
<label class="custom-checkbox">
	<span class="prompt">Captain on the bridge:</span>
	<input type="checkbox">
	<span>✔</span>
	<span>❌</span>
</label>

Inline text GitHub issue

Prompt as a bare text node inside the label — simpler than the span version, no style hook. The whole label is still the click target:

<label class="custom-checkbox">
	Captain on the bridge.
	<input type="checkbox">
	<span>✔</span>
	<span>❌</span>
</label>

© 2026 Puck.uno