CSS 체크박스 생성기

CSS로 사용자 정의 스타일 체크박스 만들기

브라우저 처리데이터가 브라우저를 떠나지 않습니다

Checkbox Style

Size & Appearance

Size24px
Border Width2px
Border Radius4px
Transition Duration200ms

Colors

Unchecked Border
Unchecked Bg
Checked Bg
Checkmark

Preview

CSS

.checkbox-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.checkbox-wrapper input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkbox {
  width: 24px;
  height: 24px;
  border: 2px solid #d1d5db;
  border-radius: 4px;
  background-color: #ffffff;
  transition: all 200ms ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.checkbox-wrapper input:checked ~ .checkbox {
  background-color: #3b82f6;
  border-color: #3b82f6;
}

.checkbox .checkmark {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: #ffffff;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0;
  transform: scale(0);
  transition: all 200ms ease;
}

.checkbox-wrapper input:checked ~ .checkbox .checkmark {
  opacity: 1;
  transform: scale(1);
}

.checkbox-wrapper:hover .checkbox {
  border-color: #3b82f6;
}

.checkbox-wrapper input:focus ~ .checkbox {
  box-shadow: 0 0 0 3px #3b82f633;
}

HTML

<label class="checkbox-wrapper">
  <input type="checkbox" />
  <span class="checkbox">
    <svg class="checkmark" viewBox="0 0 24 24">
      <polyline points="20 6 9 17 4 12" />
    </svg>
  </span>
  <span>Label</span>
</label>

About CSS 체크박스 생성기

CSS로 사용자 정의 스타일 체크박스 만들기

Use this free online css 생성기 tool to work faster without installing extra software. The interface is built for quick input, clear output, and straightforward results on desktop and mobile devices.

Processing

This tool runs in your browser whenever possible, which keeps your inputs private and reduces unnecessary round-trips to the server.