<div class="checkbox-wrapper-11">
<input id="02-11" type="checkbox" name="r" value="2">
<label for="02-11">To-do</label>
</div>
<style>
.checkbox-wrapper-11 {
--text: #414856;
--check: #4F29F0;
--disabled: #C3C8DE;
--border-radius: 10px;
border-radius: var(--border-radius);
position: relative;
padding: 5px;
display: grid;
grid-template-columns: 30px auto;
align-items: center;
}
.checkbox-wrapper-11 label {
color: var(--text);
position: relative;
cursor: pointer;
display: grid;
align-items: center;
width: fit-content;
width: fit-content;
width: fit-content;
transition: color 0.3s ease;
}
.checkbox-wrapper-11 label::before,
.checkbox-wrapper-11 label::after {
content: "";
position: absolute;
}
.checkbox-wrapper-11 label::before {
height: 2px;
width: 8px;
left: -27px;
background: var(--check);
border-radius: 2px;
transition: background 0.3s ease;
}
.checkbox-wrapper-11 label:after {
height: 4px;
width: 4px;
top: 8px;
left: -25px;
border-radius: 50%;
}
.checkbox-wrapper-11 input[type=checkbox] {
appearance: none;
appearance: none;
position: relative;
height: 15px;
width: 15px;
outline: none;
border: 0;
margin: 0 15px 0 0;
cursor: pointer;
background: var(--background);
display: grid;
align-items: center;
}
.checkbox-wrapper-11 input[type=checkbox]::before,
.checkbox-wrapper-11 input[type=checkbox]::after {
content: "";
position: absolute;
height: 2px;
top: auto;
background: var(--check);
border-radius: 2px;
}
.checkbox-wrapper-11 input[type=checkbox]::before {
width: 0px;
right: 60%;
transform-origin: right bottom;
}
.checkbox-wrapper-11 input[type=checkbox]::after {
width: 0px;
left: 40%;
transform-origin: left bottom;
}
.checkbox-wrapper-11 input[type=checkbox]:checked::before {
animation: check-01-11 0.4s ease forwards;
animation: check-01-11 0.4s ease forwards;
}
.checkbox-wrapper-11 input[type=checkbox]:checked::after {
animation: check-02-11 0.4s ease forwards;
animation: check-02-11 0.4s ease forwards;
}
.checkbox-wrapper-11 input[type=checkbox]:checked+label {
color: var(--disabled);
animation: move-11 0.3s ease 0.1s forwards;
animation: move-11 0.3s ease 0.1s forwards;
}
.checkbox-wrapper-11 input[type=checkbox]:checked+label::before {
background: var(--disabled);
animation: slice-11 0.4s ease forwards;
animation: slice-11 0.4s ease forwards;
}
.checkbox-wrapper-11 input[type=checkbox]:checked+label::after {
animation: firework-11 0.5s ease forwards 0.1s;
animation: firework-11 0.5s ease forwards 0.1s;
}
@-webkit-keyframes move-11 {
50% {
padding-left: 8px;
padding-right: 0px;
}
100% {
padding-right: 4px;
}
}
@keyframes move-11 {
50% {
padding-left: 8px;
padding-right: 0px;
}
100% {
padding-right: 4px;
}
}
@-webkit-keyframes slice-11 {
60% {
width: 100%;
left: 4px;
}
100% {
width: 100%;
left: -2px;
padding-left: 0;
}
}
@keyframes slice-11 {
60% {
width: 100%;
left: 4px;
}
100% {
width: 100%;
left: -2px;
padding-left: 0;
}
}
@-webkit-keyframes check-01-11 {
0% {
width: 4px;
top: auto;
transform: rotate(0);
}
50% {
width: 0px;
top: auto;
transform: rotate(0);
}
51% {
width: 0px;
top: 8px;
transform: rotate(45deg);
}
100% {
width: 5px;
top: 8px;
transform: rotate(45deg);
}
}
@keyframes check-01-11 {
0% {
width: 4px;
top: auto;
transform: rotate(0);
}
50% {
width: 0px;
top: auto;
transform: rotate(0);
}
51% {
width: 0px;
top: 8px;
transform: rotate(45deg);
}
100% {
width: 5px;
top: 8px;
transform: rotate(45deg);
}
}
@-webkit-keyframes check-02-11 {
0% {
width: 4px;
top: auto;
transform: rotate(0);
}
50% {
width: 0px;
top: auto;
transform: rotate(0);
}
51% {
width: 0px;
top: 8px;
transform: rotate(-45deg);
}
100% {
width: 10px;
top: 8px;
transform: rotate(-45deg);
}
}
@keyframes check-02-11 {
0% {
width: 4px;
top: auto;
transform: rotate(0);
}
50% {
width: 0px;
top: auto;
transform: rotate(0);
}
51% {
width: 0px;
top: 8px;
transform: rotate(-45deg);
}
100% {
width: 10px;
top: 8px;
transform: rotate(-45deg);
}
}
@-webkit-keyframes firework-11 {
0% {
opacity: 1;
box-shadow: 0 0 0 -2px #4F29F0, 0 0 0 -2px #4F29F0, 0 0 0 -2px #4F29F0, 0 0 0 -2px #4F29F0, 0 0 0 -2px #4F29F0, 0 0 0 -2px #4F29F0;
}
30% {
opacity: 1;
}
100% {
opacity: 0;
box-shadow: 0 -15px 0 0px #4F29F0, 14px -8px 0 0px #4F29F0, 14px 8px 0 0px #4F29F0, 0 15px 0 0px #4F29F0, -14px 8px 0 0px #4F29F0, -14px -8px 0 0px #4F29F0;
}
}
@keyframes firework-11 {
0% {
opacity: 1;
box-shadow: 0 0 0 -2px #4F29F0, 0 0 0 -2px #4F29F0, 0 0 0 -2px #4F29F0, 0 0 0 -2px #4F29F0, 0 0 0 -2px #4F29F0, 0 0 0 -2px #4F29F0;
}
30% {
opacity: 1;
}
100% {
opacity: 0;
box-shadow: 0 -15px 0 0px #4F29F0, 14px -8px 0 0px #4F29F0, 14px 8px 0 0px #4F29F0, 0 15px 0 0px #4F29F0, -14px 8px 0 0px #4F29F0, -14px -8px 0 0px #4F29F0;
}
}
</style>
<div class="checkbox-wrapper-16">
<label class="checkbox-wrapper">
<input type="checkbox" class="checkbox-input" />
<span class="checkbox-tile">
<span class="checkbox-icon">
<svg xmlns="http://www.w3.org/2000/svg" width="192" height="192" fill="currentColor" viewBox="0 0 256 256">
<rect width="256" height="256" fill="none"></rect>
<polygon points="72 40 184 40 240 104 128 224 16 104 72 40" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="12"></polygon>
<polygon points="177.091 104 128 224 78.909 104 128 40 177.091 104" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="12"></polygon>
<line x1="16" y1="104" x2="240" y2="104" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="12"></line>
</svg>
</span>
<span class="checkbox-label">Sketch</span>
</span>
</label>
</div>
<style>
.checkbox-wrapper-16 *,
.checkbox-wrapper-16 *:after,
.checkbox-wrapper-16 *:before {
box-sizing: border-box;
}
.checkbox-wrapper-16 .checkbox-input {
clip: rect(0 0 0 0);
clip-path: inset(100%);
clip-path: inset(100%);
height: 1px;
overflow: hidden;
position: absolute;
white-space: nowrap;
width: 1px;
}
.checkbox-wrapper-16 .checkbox-input:checked+.checkbox-tile {
border-color: #2260ff;
box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
color: #2260ff;
}
.checkbox-wrapper-16 .checkbox-input:checked+.checkbox-tile:before {
transform: scale(1);
opacity: 1;
background-color: #2260ff;
border-color: #2260ff;
}
.checkbox-wrapper-16 .checkbox-input:checked+.checkbox-tile .checkbox-icon,
.checkbox-wrapper-16 .checkbox-input:checked+.checkbox-tile .checkbox-label {
color: #2260ff;
}
.checkbox-wrapper-16 .checkbox-input:focus+.checkbox-tile {
border-color: #2260ff;
box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1), 0 0 0 4px #b5c9fc;
}
.checkbox-wrapper-16 .checkbox-input:focus+.checkbox-tile:before {
transform: scale(1);
opacity: 1;
}
.checkbox-wrapper-16 .checkbox-tile {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
width: 7rem;
min-height: 7rem;
border-radius: 0.5rem;
border: 2px solid #b5bfd9;
background-color: #fff;
box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
transition: 0.15s ease;
cursor: pointer;
position: relative;
}
.checkbox-wrapper-16 .checkbox-tile:before {
content: "";
position: absolute;
display: block;
width: 1.25rem;
height: 1.25rem;
border: 2px solid #b5bfd9;
background-color: #fff;
border-radius: 50%;
top: 0.25rem;
left: 0.25rem;
opacity: 0;
transform: scale(0);
transition: 0.25s ease;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='192' height='192' fill='%23FFFFFF' viewBox='0 0 256 256'%3E%3Crect width='256' height='256' fill='none'%3E%3C/rect%3E%3Cpolyline points='216 72.005 104 184 48 128.005' fill='none' stroke='%23FFFFFF' stroke-linecap='round' stroke-linejoin='round' stroke-width='32'%3E%3C/polyline%3E%3C/svg%3E");
background-size: 12px;
background-repeat: no-repeat;
background-position: 50% 50%;
}
.checkbox-wrapper-16 .checkbox-tile:hover {
border-color: #2260ff;
}
.checkbox-wrapper-16 .checkbox-tile:hover:before {
transform: scale(1);
opacity: 1;
}
.checkbox-wrapper-16 .checkbox-icon {
transition: 0.375s ease;
color: #494949;
}
.checkbox-wrapper-16 .checkbox-icon svg {
width: 3rem;
height: 3rem;
}
.checkbox-wrapper-16 .checkbox-label {
color: #707070;
transition: 0.375s ease;
text-align: center;
}
</style>
<div class="checkbox-wrapper-29">
<label class="checkbox">
<input type="checkbox" class="checkbox__input" />
<span class="checkbox__label"></span>
Checkbox
</label>
</div>
<style>
.checkbox-wrapper-29 {
--size: 1rem;
--background: #fff;
font-size: var(--size);
}
.checkbox-wrapper-29 *,
.checkbox-wrapper-29 *::after,
.checkbox-wrapper-29 *::before {
box-sizing: border-box;
}
.checkbox-wrapper-29 input[type="checkbox"] {
visibility: hidden;
display: none;
}
.checkbox-wrapper-29 .checkbox__label {
width: var(--size);
}
.checkbox-wrapper-29 .checkbox__label:before {
content: ' ';
display: block;
height: var(--size);
width: var(--size);
position: absolute;
top: calc(var(--size) * 0.125);
left: 0;
background: var(--background);
}
.checkbox-wrapper-29 .checkbox__label:after {
content: ' ';
display: block;
height: var(--size);
width: var(--size);
border: calc(var(--size) * .14) solid #000;
transition: 200ms;
position: absolute;
top: calc(var(--size) * 0.125);
left: 0;
background: var(--background);
}
.checkbox-wrapper-29 .checkbox__label:after {
transition: 100ms ease-in-out;
}
.checkbox-wrapper-29 .checkbox__input:checked~.checkbox__label:after {
border-top-style: none;
border-right-style: none;
transform: rotate(-45deg);
/* IE9 */
transform: rotate(-45deg);
height: calc(var(--size) * .5);
border-color: green;
}
.checkbox-wrapper-29 .checkbox {
position: relative;
display: flex;
cursor: pointer;
/* Mobile Safari: */
tap-highlight-color: rgba(0, 0, 0, 0);
}
.checkbox-wrapper-29 .checkbox__label:after:hover,
.checkbox-wrapper-29 .checkbox__label:after:active {
border-color: green;
}
.checkbox-wrapper-29 .checkbox__label {
margin-right: calc(var(--size) * 0.45);
}
</style>
<div class="checkbox-wrapper-43">
<input type="checkbox" id="cbx-43">
<label for="cbx-43" class="check">
<svg width="18px" height="18px" viewBox="0 0 18 18">
<path d="M1,9 L1,3.5 C1,2 2,1 3.5,1 L14.5,1 C16,1 17,2 17,3.5 L17,14.5 C17,16 16,17 14.5,17 L3.5,17 C2,17 1,16 1,14.5 L1,9 Z"></path>
<polyline points="1 9 7 14 15 4"></polyline>
</svg>
</label>
</div>
<style>
.checkbox-wrapper-43 input[type="checkbox"] {
display: none;
visibility: hidden;
}
.checkbox-wrapper-43 label {
display: inline-block;
}
.checkbox-wrapper-43 .check {
cursor: pointer;
position: relative;
margin: auto;
width: 18px;
height: 18px;
tap-highlight-color: transparent;
transform: translate3d(0, 0, 0);
}
.checkbox-wrapper-43 .check:before {
content: "";
position: absolute;
top: -15px;
left: -15px;
width: 48px;
height: 48px;
border-radius: 50%;
background: rgba(34, 50, 84, 0.03);
opacity: 0;
transition: opacity 0.2s ease;
}
.checkbox-wrapper-43 .check svg {
position: relative;
z-index: 1;
fill: none;
stroke-linecap: round;
stroke-linejoin: round;
stroke: #c8ccd4;
stroke-width: 1.5;
transform: translate3d(0, 0, 0);
transition: all 0.2s ease;
}
.checkbox-wrapper-43 .check svg path {
stroke-dasharray: 60;
stroke-dashoffset: 0;
}
.checkbox-wrapper-43 .check svg polyline {
stroke-dasharray: 22;
stroke-dashoffset: 66;
}
.checkbox-wrapper-43 .check:hover:before {
opacity: 1;
}
.checkbox-wrapper-43 .check:hover svg {
stroke: #4285f4;
}
.checkbox-wrapper-43 input[type="checkbox"]:checked+.check svg {
stroke: #4285f4;
}
.checkbox-wrapper-43 input[type="checkbox"]:checked+.check svg path {
stroke-dashoffset: 60;
transition: all 0.3s linear;
}
.checkbox-wrapper-43 input[type="checkbox"]:checked+.check svg polyline {
stroke-dashoffset: 42;
transition: all 0.2s linear;
transition-delay: 0.15s;
}
</style>
<div class="checkbox-wrapper-49">
<div class="block">
<input data-index="0" id="cheap-49" type="checkbox" />
<label for="cheap-49"></label>
</div>
</div>
<style>
.checkbox-wrapper-49 input[type="checkbox"] {
display: none;
visibility: hidden;
}
.checkbox-wrapper-49 {
--size: 90px;
}
.checkbox-wrapper-49 .block {
position: relative;
clear: both;
float: left;
}
.checkbox-wrapper-49 label {
width: var(--size);
height: calc(var(--size) / 2);
box-sizing: border-box;
border: 3px solid;
float: left;
border-radius: 100px;
position: relative;
cursor: pointer;
transition: .3s ease;
color: black;
}
.checkbox-wrapper-49 input[type=checkbox]:checked+label {
background: #55e868;
}
.checkbox-wrapper-49 input[type=checkbox]:checked+label:before {
left: calc(var(--size) / 2);
}
.checkbox-wrapper-49 label:before {
transition: .3s ease;
content: '';
width: calc((var(--size) / 2) - 10px);
height: calc((var(--size) / 2) - 10px);
position: absolute;
background: white;
left: 2px;
top: 2px;
box-sizing: border-box;
border: 3px solid;
color: black;
border-radius: 100px;
}
</style>
<div class="checkbox-wrapper-62">
<input type="checkbox" class="check" id="check1-62" />
<label for="check1-62" class="label">
<svg width="43" height="43" viewbox="0 0 90 90">
<rect x="30" y="20" width="50" height="50" stroke="black" fill="none" />
<g transform="translate(0,-952.36218)">
<path d="m 13,983 c 33,6 40,26 55,48 " stroke="black" stroke-width="3" class="path1" fill="none" />
<path d="M 75,970 C 51,981 34,1014 25,1031 " stroke="black" stroke-width="3" class="path1" fill="none" />
</g>
</svg>
<span>Checkbox</span>
</label>
</div>
<style>
.checkbox-wrapper-62 input[type="checkbox"] {
visibility: hidden;
display: none;
}
.checkbox-wrapper-62 *,
.checkbox-wrapper-62 ::after,
.checkbox-wrapper-62 ::before {
box-sizing: border-box;
}
.checkbox-wrapper-62 {
position: relative;
display: block;
overflow: hidden;
}
.checkbox-wrapper-62 .check {
width: 50px;
height: 50px;
position: absolute;
opacity: 0;
}
.checkbox-wrapper-62 .label svg {
vertical-align: middle;
}
.checkbox-wrapper-62 .path1 {
stroke-dasharray: 400;
stroke-dashoffset: 400;
transition: .5s all;
}
.checkbox-wrapper-62 .check:checked+label svg g path {
stroke-dashoffset: 0;
}
</style>
<div class="checkbox-wrapper-54">
<label class="switch">
<input type="checkbox">
<span class="slider"></span>
</label>
</div>
<style>
.checkbox-wrapper-54 input[type="checkbox"] {
visibility: hidden;
display: none;
}
.checkbox-wrapper-54 *,
.checkbox-wrapper-54 ::after,
.checkbox-wrapper-54 ::before {
box-sizing: border-box;
}
/* The switch - the box around the slider */
.checkbox-wrapper-54 .switch {
--width-of-switch: 3.5em;
--height-of-switch: 2em;
/* size of sliding icon -- sun and moon */
--size-of-icon: 1.4em;
/* it is like a inline-padding of switch */
--slider-offset: 0.3em;
position: relative;
width: var(--width-of-switch);
height: var(--height-of-switch);
display: inline-block;
}
/* The slider */
.checkbox-wrapper-54 .slider {
position: absolute;
cursor: pointer;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: #f4f4f5;
transition: .4s;
border-radius: 30px;
}
.checkbox-wrapper-54 .slider:before {
position: absolute;
content: "";
height: var(--size-of-icon, 1.4em);
width: var(--size-of-icon, 1.4em);
border-radius: 20px;
left: var(--slider-offset, 0.3em);
top: 50%;
transform: translateY(-50%);
background: linear-gradient(40deg, #ff0080, #ff8c00 70%);
;
transition: .4s;
}
.checkbox-wrapper-54 input:checked+.slider {
background-color: #303136;
}
.checkbox-wrapper-54 input:checked+.slider:before {
left: calc(100% - (var(--size-of-icon, 1.4em) + var(--slider-offset, 0.3em)));
background: #303136;
/* change the value of second inset in box-shadow to change the angle and direction of the moon */
box-shadow: inset -3px -2px 5px -2px #8983f7, inset -10px -4px 0 0 #a3dafb;
}
</style>
<div class="checkbox-wrapper-46">
<input class="inp-cbx" id="cbx-46" type="checkbox" />
<label class="cbx" for="cbx-46"><span>
<svg width="12px" height="10px" viewbox="0 0 12 10">
<polyline points="1.5 6 4.5 9 10.5 1"></polyline>
</svg></span><span>Checkbox</span>
</label>
</div>
<style>
.checkbox-wrapper-46 input[type="checkbox"] {
display: none;
visibility: hidden;
}
.checkbox-wrapper-46 .cbx {
margin: auto;
user-select: none;
user-select: none;
cursor: pointer;
}
.checkbox-wrapper-46 .cbx span {
display: inline-block;
vertical-align: middle;
transform: translate3d(0, 0, 0);
}
.checkbox-wrapper-46 .cbx span:first-child {
position: relative;
width: 18px;
height: 18px;
border-radius: 3px;
transform: scale(1);
vertical-align: middle;
border: 1px solid #9098A9;
transition: all 0.2s ease;
}
.checkbox-wrapper-46 .cbx span:first-child svg {
position: absolute;
top: 3px;
left: 2px;
fill: none;
stroke: #FFFFFF;
stroke-width: 2;
stroke-linecap: round;
stroke-linejoin: round;
stroke-dasharray: 16px;
stroke-dashoffset: 16px;
transition: all 0.3s ease;
transition-delay: 0.1s;
transform: translate3d(0, 0, 0);
}
.checkbox-wrapper-46 .cbx span:first-child:before {
content: "";
width: 100%;
height: 100%;
background: #506EEC;
display: block;
transform: scale(0);
opacity: 1;
border-radius: 50%;
}
.checkbox-wrapper-46 .cbx span:last-child {
padding-left: 8px;
}
.checkbox-wrapper-46 .cbx:hover span:first-child {
border-color: #506EEC;
}
.checkbox-wrapper-46 .inp-cbx:checked+.cbx span:first-child {
background: #506EEC;
border-color: #506EEC;
animation: wave-46 0.4s ease;
}
.checkbox-wrapper-46 .inp-cbx:checked+.cbx span:first-child svg {
stroke-dashoffset: 0;
}
.checkbox-wrapper-46 .inp-cbx:checked+.cbx span:first-child:before {
transform: scale(3.5);
opacity: 0;
transition: all 0.6s ease;
}
@keyframes wave-46 {
50% {
transform: scale(0.9);
}
}
</style>
<div class="checkbox-wrapper-52">
<label for="todo-52" class="item">
<input type="checkbox" id="todo-52" class="hidden" />
<label for="todo-52" class="cbx">
<svg width="14px" height="12px" viewBox="0 0 14 12">
<polyline points="1 7.6 5 11 13 1"></polyline>
</svg>
</label>
<label for="todo-52" class="cbx-lbl">To-do</label>
</label>
</div>
<style>
.checkbox-wrapper-52 input[type="checkbox"] {
visibility: hidden;
display: none;
}
.checkbox-wrapper-52 label {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline;
line-height: 1;
}
.checkbox-wrapper-52 *,
.checkbox-wrapper-52 ::after,
.checkbox-wrapper-52 ::before {
box-sizing: border-box;
}
.checkbox-wrapper-52 .item .cbx {
position: relative;
top: 1px;
display: inline-block;
width: 14px;
height: 14px;
margin-right: 6px;
border: 1px solid #c8ccd4;
border-radius: 3px;
cursor: pointer;
}
.checkbox-wrapper-52 .item .cbx svg {
position: relative;
top: -1px;
transform: scale(0);
fill: none;
stroke-linecap: round;
stroke-linejoin: round;
}
.checkbox-wrapper-52 .item .cbx svg polyline {
stroke-width: 2;
stroke: #18cda6;
}
.checkbox-wrapper-52 .item .cbx:before {
content: '';
position: absolute;
top: 50%;
left: 50%;
margin: -10px 0 0 -10px;
width: 20px;
height: 20px;
border-radius: 100%;
background: #18cda6;
transform: scale(0);
}
.checkbox-wrapper-52 .item .cbx:after {
content: '';
position: absolute;
top: 5px;
left: 5px;
width: 2px;
height: 2px;
border-radius: 2px;
box-shadow: 0 -18px 0 #18cda6, 12px -12px 0 #18cda6, 18px 0 0 #18cda6, 12px 12px 0 #18cda6, 0 18px 0 #18cda6, -12px 12px 0 #18cda6, -18px 0 0 #18cda6, -12px -12px 0 #18cda6;
transform: scale(0);
}
.checkbox-wrapper-52 .item .cbx-lbl {
position: relative;
cursor: pointer;
transition: color 0.3s ease;
}
.checkbox-wrapper-52 .item .cbx-lbl:after {
content: '';
position: absolute;
top: 50%;
left: 0;
width: 0;
height: 1px;
background: #9098a9;
}
.checkbox-wrapper-52 .item input {
display: none;
}
.checkbox-wrapper-52 .item input:checked+.cbx {
border-color: transparent;
}
.checkbox-wrapper-52 .item input:checked+.cbx svg {
transform: scale(1);
transition: all 0.4s ease;
transition-delay: 0.1s;
}
.checkbox-wrapper-52 .item input:checked+.cbx:before {
transform: scale(1);
opacity: 0;
transition: all 0.3s ease;
}
.checkbox-wrapper-52 .item input:checked+.cbx:after {
transform: scale(1);
opacity: 0;
transition: all 0.6s ease;
}
.checkbox-wrapper-52 .item input:checked~.cbx-lbl {
color: #9098a9;
}
.checkbox-wrapper-52 .item input:checked~.cbx-lbl:after {
width: 100%;
transition: all 0.4s ease;
}
</style>
html {
display: flex;
justify-content: center;
}
div {
margin: 2em;
width: 100%;
}
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.