Skip to content

Make images smaller using best-in-class codecs, right in the browser.

JavaScript
288 B
Raw Blame
.checkbox {
  display: inline-block;
  position: relative;
  --size: 17px;
}

.real-checkbox {
  top: 0;
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.icon {
  display: block;
  width: var(--size);
  height: var(--size);
}

.checked {
  fill: var(--main-theme-color);
}