Handitab

CSS Checkbox Generator

Generate CSS for a custom styled checkbox with your own size, corner radius, and colors that still uses a real, accessible input element.

About CSS Checkbox Generator

A custom CSS checkbox restyles the native input instead of replacing it. This generator sets appearance: none on input[type="checkbox"], draws the box with a border, and uses a rotated pseudo-element as the check mark when the input is checked. Because the element is still a real checkbox, keyboard focus, the space bar, form submission, and screen readers keep working. A focus-visible outline is included.

How to use CSS Checkbox Generator

  1. Fill in "Size", "Corner radius", "Checked color" and "Border color".
  2. The result appears below and updates as you type.
  3. Copy the result with the copy button, or download it as a file where that is offered.

Questions about CSS Checkbox Generator

Why style the real input instead of hiding it?

A real input keeps keyboard support, focus handling, form submission, and the checked state that assistive technology reads. Hiding it and drawing a fake box means rebuilding all of that with extra markup and script.

Runs in your browser. Page last updated .

More css and color tools

All 39 css and color tools