Back to CSS Checkboxes Ripple Wave Checkbox Pure CSS
Share
.cb-ripple {
  display: inline-flex; align-items: center;
  gap: 10px; cursor: pointer; user-select: none;
}
.cb-ripple__input { display: none; }
.cb-ripple__box {
  width: 24px; height: 24px; border-radius: 7px;
  border: 2px solid rgba(255,108,138,.4);
  position: relative; overflow: visible;
  display: flex; align-items: center;
  justify-content: center; color: transparent;
  transition: background .25s, border-color .25s,
              color .25s;
}
.cb-ripple__wave {
  position: absolute; inset: -4px;
  border-radius: 11px;
  border: 2px solid #ff6c8a;
  opacity: 0;
}
.cb-ripple__input:checked + .cb-ripple__box {
  background: #ff6c8a; border-color: #ff6c8a;
  color: #fff;
}
.cb-ripple__input:checked
  + .cb-ripple__box .cb-ripple__wave {
  animation: ripple-out .5s ease-out forwards;
}
@keyframes ripple-out {
  0%   { transform: scale(1);   opacity: .8; }
  100% { transform: scale(1.6); opacity: 0;  }
}
<label class="cb-ripple">
  <input class="cb-ripple__input" type="checkbox" checked />
  <span class="cb-ripple__box">
    <span class="cb-ripple__wave"></span>
    <svg width="12" height="9" viewBox="0 0 14 11" fill="none">
      <polyline
        points="1,5.5 5,9.5 13,1"
        stroke="white"
        stroke-width="2.2"
        stroke-linecap="round"
        stroke-linejoin="round"
      />
    </svg>
  </span>
  <span>Ripple wave checkbox</span>
</label>
Live preview Edit any tab — preview updates live Ready