65 Beautiful CSS Checkboxes
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Yes No -
-
-
-
-
Checkbox -
Checkbox -
Checkbox -
-
-
Checkbox
HTML
<div class="checkbox-wrapper-1">
<input id="example-1" class="substituted" type="checkbox" aria-hidden="true" />
<label for="example-1">Checkbox</label>
</div>
CSS
.checkbox-wrapper-1 *,
.checkbox-wrapper-1 ::after,
.checkbox-wrapper-1 ::before
{
box-sizing: border-box;
}
.checkbox-wrapper-1 [type=checkbox].substituted
{
margin: 0;
width: 0;
height: 0;
display: inline;
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
}
.checkbox-wrapper-1 [type=checkbox].substituted + label:before
{
content: "";
display: inline-block;
vertical-align: top;
height: 1.15em;
width: 1.15em;
margin-right: 0.6em;
color: rgba(0, 0, 0, 0.275);
border: solid 0.06em;
box-shadow: 0 0 0.04em, 0 0.06em 0.16em -0.03em inset, 0 0 0 0.07em transparent inset;
border-radius: 0.2em;
background: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" version="1.1" xml:space="preserve" fill="white" viewBox="0 0 9 9"><rect x="0" y="4.3" transform="matrix(-0.707 -0.7072 0.7072 -0.707 0.5891 10.4702)" width="4.3" height="1.6" /><rect x="2.2" y="2.9" transform="matrix(-0.7071 0.7071 -0.7071 -0.7071 12.1877 2.9833)" width="6.1" height="1.7" /></svg>') no-repeat center, white;
background-size: 0;
will-change: color, border, background, background-size, box-shadow;
transform: translate3d(0, 0, 0);
transition: color 0.1s, border 0.1s, background 0.15s, box-shadow 0.1s;
}
.checkbox-wrapper-1 [type=checkbox].substituted:enabled:active + label:before,
.checkbox-wrapper-1 [type=checkbox].substituted:enabled + label:active:before
{
box-shadow: 0 0 0.04em, 0 0.06em 0.16em -0.03em transparent inset, 0 0 0 0.07em rgba(0, 0, 0, 0.1) inset;
background-color: #f0f0f0;
}
.checkbox-wrapper-1 [type=checkbox].substituted:checked + label:before
{
background-color: #3B99FC;
background-size: 0.75em;
color: rgba(0, 0, 0, 0.075);
}
.checkbox-wrapper-1 [type=checkbox].substituted:checked:enabled:active + label:before,
.checkbox-wrapper-1 [type=checkbox].substituted:checked:enabled + label:active:before
{
background-color: #0a7ffb;
color: rgba(0, 0, 0, 0.275);
}
.checkbox-wrapper-1 [type=checkbox].substituted:focus + label:before
{
box-shadow: 0 0 0.04em, 0 0.06em 0.16em -0.03em transparent inset, 0 0 0 0.07em rgba(0, 0, 0, 0.1) inset, 0 0 0 3.3px rgba(65, 159, 255, 0.55), 0 0 0 5px rgba(65, 159, 255, 0.3);
}
.checkbox-wrapper-1 [type=checkbox].substituted:focus:active + label:before,
.checkbox-wrapper-1 [type=checkbox].substituted:focus + label:active:before
{
box-shadow: 0 0 0.04em, 0 0.06em 0.16em -0.03em transparent inset, 0 0 0 0.07em rgba(0, 0, 0, 0.1) inset, 0 0 0 3.3px rgba(65, 159, 255, 0.55), 0 0 0 5px rgba(65, 159, 255, 0.3);
}
.checkbox-wrapper-1 [type=checkbox].substituted:disabled + label:before
{
opacity: 0.5;
}
.checkbox-wrapper-1 [type=checkbox].substituted.dark + label:before
{
color: rgba(255, 255, 255, 0.275);
background-color: #222;
background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" version="1.1" xml:space="preserve" fill="rgba(34, 34, 34, 0.999)" viewBox="0 0 9 9"><rect x="0" y="4.3" transform="matrix(-0.707 -0.7072 0.7072 -0.707 0.5891 10.4702)" width="4.3" height="1.6" /><rect x="2.2" y="2.9" transform="matrix(-0.7071 0.7071 -0.7071 -0.7071 12.1877 2.9833)" width="6.1" height="1.7" /></svg>');
}
.checkbox-wrapper-1 [type=checkbox].substituted.dark:enabled:active + label:before,
.checkbox-wrapper-1 [type=checkbox].substituted.dark:enabled + label:active:before
{
background-color: #444;
box-shadow: 0 0 0.04em, 0 0.06em 0.16em -0.03em transparent inset, 0 0 0 0.07em rgba(255, 255, 255, 0.1) inset;
}
.checkbox-wrapper-1 [type=checkbox].substituted.dark:checked + label:before
{
background-color: #a97035;
color: rgba(255, 255, 255, 0.075);
}
.checkbox-wrapper-1 [type=checkbox].substituted.dark:checked:enabled:active + label:before,
.checkbox-wrapper-1 [type=checkbox].substituted.dark:checked:enabled + label:active:before
{
background-color: #c68035;
color: rgba(0, 0, 0, 0.275);
}
.checkbox-wrapper-1 [type=checkbox].substituted + label
{
-webkit-user-select: none;
user-select: none;
}
HTML
<div class="checkbox-wrapper-2">
<input type="checkbox" class="sc-gJwTLC ikxBAC">
</div>
CSS
.checkbox-wrapper-2 .ikxBAC
{
appearance: none;
background-color: #dfe1e4;
border-radius: 72px;
border-style: none;
flex-shrink: 0;
height: 20px;
margin: 0;
position: relative;
width: 30px;
}
.checkbox-wrapper-2 .ikxBAC::before
{
bottom: -6px;
content: "";
left: -6px;
position: absolute;
right: -6px;
top: -6px;
}
.checkbox-wrapper-2 .ikxBAC,
.checkbox-wrapper-2 .ikxBAC::after
{
transition: all 100ms ease-out;
}
.checkbox-wrapper-2 .ikxBAC::after
{
background-color: #fff;
border-radius: 50%;
content: "";
height: 14px;
left: 3px;
position: absolute;
top: 3px;
width: 14px;
}
.checkbox-wrapper-2 input[type=checkbox]
{
cursor: default;
}
.checkbox-wrapper-2 .ikxBAC:hover
{
background-color: #c9cbcd;
transition-duration: 0s;
}
.checkbox-wrapper-2 .ikxBAC:checked
{
background-color: #6e79d6;
}
.checkbox-wrapper-2 .ikxBAC:checked::after
{
background-color: #fff;
left: 13px;
}
.checkbox-wrapper-2 :focus:not(.focus-visible)
{
outline: 0;
}
.checkbox-wrapper-2 .ikxBAC:checked:hover
{
background-color: #535db3;
}
HTML
<div class="checkbox-wrapper-3">
<input type="checkbox" id="cbx-3" />
<label for="cbx-3" class="toggle"><span></span></label>
</div>
CSS
.checkbox-wrapper-3 input[type="checkbox"]
{
visibility: hidden;
display: none;
}
.checkbox-wrapper-3 .toggle
{
position: relative;
display: block;
width: 40px;
height: 20px;
cursor: pointer;
-webkit-tap-highlight-color: transparent;
transform: translate3d(0, 0, 0);
}
.checkbox-wrapper-3 .toggle:before
{
content: "";
position: relative;
top: 3px;
left: 3px;
width: 34px;
height: 14px;
display: block;
background: #9A9999;
border-radius: 8px;
transition: background 0.2s ease;
}
.checkbox-wrapper-3 .toggle span
{
position: absolute;
top: 0;
left: 0;
width: 20px;
height: 20px;
display: block;
background: white;
border-radius: 10px;
box-shadow: 0 3px 8px rgba(154, 153, 153, 0.5);
transition: all 0.2s ease;
}
.checkbox-wrapper-3 .toggle span:before
{
content: "";
position: absolute;
display: block;
margin: -18px;
width: 56px;
height: 56px;
background: rgba(79, 46, 220, 0.5);
border-radius: 50%;
transform: scale(0);
opacity: 1;
pointer-events: none;
}
.checkbox-wrapper-3 #cbx-3:checked + .toggle:before
{
background: #947ADA;
}
.checkbox-wrapper-3 #cbx-3:checked + .toggle span
{
background: #4F2EDC;
transform: translateX(20px);
transition: all 0.2s cubic-bezier(0.8, 0.4, 0.3, 1.25), background 0.15s ease;
box-shadow: 0 3px 8px rgba(79, 46, 220, 0.2);
}
.checkbox-wrapper-3 #cbx-3:checked + .toggle span:before
{
transform: scale(1);
opacity: 0;
transition: all 0.4s ease;
}
HTML
<div class="checkbox-wrapper-4">
<input class="inp-cbx" id="morning" type="checkbox"/>
<label class="cbx" for="morning"><span>
<svg width="12px" height="10px">
<use xlink:href="#check-4"></use>
</svg></span><span>Morning</span></label>
<svg class="inline-svg">
<symbol id="check-4" viewbox="0 0 12 10">
<polyline points="1.5 6 4.5 9 10.5 1"></polyline>
</symbol>
</svg>
</div>
CSS
.checkbox-wrapper-4 *
{
box-sizing: border-box;
}
.checkbox-wrapper-4 .cbx
{
-webkit-user-select: none;
user-select: none;
cursor: pointer;
padding: 6px 8px;
border-radius: 6px;
overflow: hidden;
transition: all 0.2s ease;
display: inline-block;
}
.checkbox-wrapper-4 .cbx:not(:last-child)
{
margin-right: 6px;
}
.checkbox-wrapper-4 .cbx:hover
{
background: rgba(0,119,255,0.06);
}
.checkbox-wrapper-4 .cbx span
{
float: left;
vertical-align: middle;
transform: translate3d(0, 0, 0);
}
.checkbox-wrapper-4 .cbx span:first-child
{
position: relative;
width: 18px;
height: 18px;
border-radius: 4px;
transform: scale(1);
border: 1px solid #cccfdb;
transition: all 0.2s ease;
box-shadow: 0 1px 1px rgba(0,16,75,0.05);
}
.checkbox-wrapper-4 .cbx span:first-child svg
{
position: absolute;
top: 3px;
left: 2px;
fill: none;
stroke: #fff;
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-4 .cbx span:last-child
{
padding-left: 8px;
line-height: 18px;
}
.checkbox-wrapper-4 .cbx:hover span:first-child
{
border-color: #07f;
}
.checkbox-wrapper-4 .inp-cbx
{
position: absolute;
visibility: hidden;
}
.checkbox-wrapper-4 .inp-cbx:checked + .cbx span:first-child
{
background: #07f;
border-color: #07f;
animation: wave-4 0.4s ease;
}
.checkbox-wrapper-4 .inp-cbx:checked + .cbx span:first-child svg
{
stroke-dashoffset: 0;
}
.checkbox-wrapper-4 .inline-svg
{
position: absolute;
width: 0;
height: 0;
pointer-events: none;
user-select: none;
}
@media screen and (max-width: 640px)
{
.checkbox-wrapper-4 .cbx
{
width: 100%;
display: inline-block;
}
}
@-moz-keyframes wave-4
{
50%
{
transform: scale(0.9);
}
}
@-webkit-keyframes wave-4
{
50%
{
transform: scale(0.9);
}
}
@-o-keyframes wave-4
{
50%
{
transform: scale(0.9);
}
}
@keyframes wave-4
{
50%
{
transform: scale(0.9);
}
}
HTML
<div class="checkbox-wrapper-5">
<div class="check">
<input id="check-5" type="checkbox">
<label for="check-5"></label>
</div>
</div>
CSS
.checkbox-wrapper-5 .check
{
--size: 40px;
position: relative;
background: linear-gradient(90deg, #f19af3, #f099b5);
line-height: 0;
perspective: 400px;
font-size: var(--size);
}
.checkbox-wrapper-5 .check input[type="checkbox"],
.checkbox-wrapper-5 .check label,
.checkbox-wrapper-5 .check label::before,
.checkbox-wrapper-5 .check label::after,
.checkbox-wrapper-5 .check
{
appearance: none;
display: inline-block;
border-radius: var(--size);
border: 0;
transition: .35s ease-in-out;
box-sizing: border-box;
cursor: pointer;
}
.checkbox-wrapper-5 .check label
{
width: calc(2.2 * var(--size));
height: var(--size);
background: #d7d7d7;
overflow: hidden;
}
.checkbox-wrapper-5 .check input[type="checkbox"]
{
position: absolute;
z-index: 1;
width: calc(.8 * var(--size));
height: calc(.8 * var(--size));
top: calc(.1 * var(--size));
left: calc(.1 * var(--size));
background: linear-gradient(45deg, #dedede, #ffffff);
box-shadow: 0 6px 7px rgba(0,0,0,0.3);
outline: none;
margin: 0;
}
.checkbox-wrapper-5 .check input[type="checkbox"]:checked
{
left: calc(1.3 * var(--size));
}
.checkbox-wrapper-5 .check input[type="checkbox"]:checked + label
{
background: transparent;
}
.checkbox-wrapper-5 .check label::before,
.checkbox-wrapper-5 .check label::after
{
content: "· ·";
position: absolute;
overflow: hidden;
left: calc(.15 * var(--size));
top: calc(.5 * var(--size));
height: var(--size);
letter-spacing: calc(-0.04 * var(--size));
color: #9b9b9b;
font-family: "Times New Roman", serif;
z-index: 2;
font-size: calc(.6 * var(--size));
border-radius: 0;
transform-origin: 0 0 calc(-0.5 * var(--size));
backface-visibility: hidden;
}
.checkbox-wrapper-5 .check label::after
{
content: "●";
top: calc(.65 * var(--size));
left: calc(.2 * var(--size));
height: calc(.1 * var(--size));
width: calc(.35 * var(--size));
font-size: calc(.2 * var(--size));
transform-origin: 0 0 calc(-0.4 * var(--size));
}
.checkbox-wrapper-5 .check input[type="checkbox"]:checked + label::before,
.checkbox-wrapper-5 .check input[type="checkbox"]:checked + label::after
{
left: calc(1.55 * var(--size));
top: calc(.4 * var(--size));
line-height: calc(.1 * var(--size));
transform: rotateY(360deg);
}
.checkbox-wrapper-5 .check input[type="checkbox"]:checked + label::after
{
height: calc(.16 * var(--size));
top: calc(.55 * var(--size));
left: calc(1.6 * var(--size));
font-size: calc(.6 * var(--size));
line-height: 0;
}
HTML
<div class="checkbox-wrapper-6">
<input class="tgl tgl-light" id="cb1-6" type="checkbox"/>
<label class="tgl-btn" for="cb1-6">
</div>
CSS
.checkbox-wrapper-6 .tgl
{
display: none;
}
.checkbox-wrapper-6 .tgl,
.checkbox-wrapper-6 .tgl:after,
.checkbox-wrapper-6 .tgl:before,
.checkbox-wrapper-6 .tgl *,
.checkbox-wrapper-6 .tgl *:after,
.checkbox-wrapper-6 .tgl *:before,
.checkbox-wrapper-6 .tgl + .tgl-btn
{
box-sizing: border-box;
}
.checkbox-wrapper-6 .tgl::-moz-selection,
.checkbox-wrapper-6 .tgl:after::-moz-selection,
.checkbox-wrapper-6 .tgl:before::-moz-selection,
.checkbox-wrapper-6 .tgl *::-moz-selection,
.checkbox-wrapper-6 .tgl *:after::-moz-selection,
.checkbox-wrapper-6 .tgl *:before::-moz-selection,
.checkbox-wrapper-6 .tgl + .tgl-btn::-moz-selection,
.checkbox-wrapper-6 .tgl::selection,
.checkbox-wrapper-6 .tgl:after::selection,
.checkbox-wrapper-6 .tgl:before::selection,
.checkbox-wrapper-6 .tgl *::selection,
.checkbox-wrapper-6 .tgl *:after::selection,
.checkbox-wrapper-6 .tgl *:before::selection,
.checkbox-wrapper-6 .tgl + .tgl-btn::selection
{
background: none;
}
.checkbox-wrapper-6 .tgl + .tgl-btn
{
outline: 0;
display: block;
width: 4em;
height: 2em;
position: relative;
cursor: pointer;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.checkbox-wrapper-6 .tgl + .tgl-btn:after,
.checkbox-wrapper-6 .tgl + .tgl-btn:before
{
position: relative;
display: block;
content: "";
width: 50%;
height: 100%;
}
.checkbox-wrapper-6 .tgl + .tgl-btn:after
{
left: 0;
}
.checkbox-wrapper-6 .tgl + .tgl-btn:before
{
display: none;
}
.checkbox-wrapper-6 .tgl:checked + .tgl-btn:after
{
left: 50%;
}
.checkbox-wrapper-6 .tgl-light + .tgl-btn
{
background: #f0f0f0;
border-radius: 2em;
padding: 2px;
transition: all 0.4s ease;
}
.checkbox-wrapper-6 .tgl-light + .tgl-btn:after
{
border-radius: 50%;
background: #fff;
transition: all 0.2s ease;
}
.checkbox-wrapper-6 .tgl-light:checked + .tgl-btn
{
background: #9FD6AE;
}
HTML
<div class="checkbox-wrapper-7">
<input class="tgl tgl-ios" id="cb2-7" type="checkbox"/>
<label class="tgl-btn" for="cb2-7">
</div>
CSS
.checkbox-wrapper-7 .tgl
{
display: none;
}
.checkbox-wrapper-7 .tgl,
.checkbox-wrapper-7 .tgl:after,
.checkbox-wrapper-7 .tgl:before,
.checkbox-wrapper-7 .tgl *,
.checkbox-wrapper-7 .tgl *:after,
.checkbox-wrapper-7 .tgl *:before,
.checkbox-wrapper-7 .tgl + .tgl-btn
{
box-sizing: border-box;
}
.checkbox-wrapper-7 .tgl::-moz-selection,
.checkbox-wrapper-7 .tgl:after::-moz-selection,
.checkbox-wrapper-7 .tgl:before::-moz-selection,
.checkbox-wrapper-7 .tgl *::-moz-selection,
.checkbox-wrapper-7 .tgl *:after::-moz-selection,
.checkbox-wrapper-7 .tgl *:before::-moz-selection,
.checkbox-wrapper-7 .tgl + .tgl-btn::-moz-selection,
.checkbox-wrapper-7 .tgl::selection,
.checkbox-wrapper-7 .tgl:after::selection,
.checkbox-wrapper-7 .tgl:before::selection,
.checkbox-wrapper-7 .tgl *::selection,
.checkbox-wrapper-7 .tgl *:after::selection,
.checkbox-wrapper-7 .tgl *:before::selection,
.checkbox-wrapper-7 .tgl + .tgl-btn::selection
{
background: none;
}
.checkbox-wrapper-7 .tgl + .tgl-btn
{
outline: 0;
display: block;
width: 4em;
height: 2em;
position: relative;
cursor: pointer;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.checkbox-wrapper-7 .tgl + .tgl-btn:after,
.checkbox-wrapper-7 .tgl + .tgl-btn:before
{
position: relative;
display: block;
content: "";
width: 50%;
height: 100%;
}
.checkbox-wrapper-7 .tgl + .tgl-btn:after
{
left: 0;
}
.checkbox-wrapper-7 .tgl + .tgl-btn:before
{
display: none;
}
.checkbox-wrapper-7 .tgl:checked + .tgl-btn:after
{
left: 50%;
}
.checkbox-wrapper-7 .tgl-ios + .tgl-btn
{
background: #fbfbfb;
border-radius: 2em;
padding: 2px;
transition: all 0.4s ease;
border: 1px solid #e8eae9;
}
.checkbox-wrapper-7 .tgl-ios + .tgl-btn:after
{
border-radius: 2em;
background: #fbfbfb;
transition: left 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), padding 0.3s ease, margin 0.3s ease;
box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1), 0 4px 0 rgba(0, 0, 0, 0.08);
}
.checkbox-wrapper-7 .tgl-ios + .tgl-btn:hover:after
{
will-change: padding;
}
.checkbox-wrapper-7 .tgl-ios + .tgl-btn:active
{
box-shadow: inset 0 0 0 2em #e8eae9;
}
.checkbox-wrapper-7 .tgl-ios + .tgl-btn:active:after
{
padding-right: 0.8em;
}
.checkbox-wrapper-7 .tgl-ios:checked + .tgl-btn
{
background: #86d993;
}
.checkbox-wrapper-7 .tgl-ios:checked + .tgl-btn:active
{
box-shadow: none;
}
.checkbox-wrapper-7 .tgl-ios:checked + .tgl-btn:active:after
{
margin-left: -0.8em;
}
HTML
<div class="checkbox-wrapper-8">
<input class="tgl tgl-skewed" id="cb3-8" type="checkbox"/>
<label class="tgl-btn" data-tg-off="OFF" data-tg-on="ON" for="cb3-8"></label>
</div>
CSS
.checkbox-wrapper-8 .tgl
{
display: none;
}
.checkbox-wrapper-8 .tgl,
.checkbox-wrapper-8 .tgl:after,
.checkbox-wrapper-8 .tgl:before,
.checkbox-wrapper-8 .tgl *,
.checkbox-wrapper-8 .tgl *:after,
.checkbox-wrapper-8 .tgl *:before,
.checkbox-wrapper-8 .tgl + .tgl-btn
{
box-sizing: border-box;
}
.checkbox-wrapper-8 .tgl::-moz-selection,
.checkbox-wrapper-8 .tgl:after::-moz-selection,
.checkbox-wrapper-8 .tgl:before::-moz-selection,
.checkbox-wrapper-8 .tgl *::-moz-selection,
.checkbox-wrapper-8 .tgl *:after::-moz-selection,
.checkbox-wrapper-8 .tgl *:before::-moz-selection,
.checkbox-wrapper-8 .tgl + .tgl-btn::-moz-selection,
.checkbox-wrapper-8 .tgl::selection,
.checkbox-wrapper-8 .tgl:after::selection,
.checkbox-wrapper-8 .tgl:before::selection,
.checkbox-wrapper-8 .tgl *::selection,
.checkbox-wrapper-8 .tgl *:after::selection,
.checkbox-wrapper-8 .tgl *:before::selection,
.checkbox-wrapper-8 .tgl + .tgl-btn::selection
{
background: none;
}
.checkbox-wrapper-8 .tgl + .tgl-btn
{
outline: 0;
display: block;
width: 4em;
height: 2em;
position: relative;
cursor: pointer;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.checkbox-wrapper-8 .tgl + .tgl-btn:after,
.checkbox-wrapper-8 .tgl + .tgl-btn:before
{
position: relative;
display: block;
content: "";
width: 50%;
height: 100%;
}
.checkbox-wrapper-8 .tgl + .tgl-btn:after
{
left: 0;
}
.checkbox-wrapper-8 .tgl + .tgl-btn:before
{
display: none;
}
.checkbox-wrapper-8 .tgl:checked + .tgl-btn:after
{
left: 50%;
}
.checkbox-wrapper-8 .tgl-skewed + .tgl-btn
{
overflow: hidden;
transform: skew(-10deg);
-webkit-backface-visibility: hidden;
backface-visibility: hidden;
transition: all 0.2s ease;
font-family: sans-serif;
background: #888;
}
.checkbox-wrapper-8 .tgl-skewed + .tgl-btn:after,
.checkbox-wrapper-8 .tgl-skewed + .tgl-btn:before
{
transform: skew(10deg);
display: inline-block;
transition: all 0.2s ease;
width: 100%;
text-align: center;
position: absolute;
line-height: 2em;
font-weight: bold;
color: #fff;
text-shadow: 0 1px 0 rgba(0, 0, 0, 0.4);
}
.checkbox-wrapper-8 .tgl-skewed + .tgl-btn:after
{
left: 100%;
content: attr(data-tg-on);
}
.checkbox-wrapper-8 .tgl-skewed + .tgl-btn:before
{
left: 0;
content: attr(data-tg-off);
}
.checkbox-wrapper-8 .tgl-skewed + .tgl-btn:active
{
background: #888;
}
.checkbox-wrapper-8 .tgl-skewed + .tgl-btn:active:before
{
left: -10%;
}
.checkbox-wrapper-8 .tgl-skewed:checked + .tgl-btn
{
background: #86d993;
}
.checkbox-wrapper-8 .tgl-skewed:checked + .tgl-btn:before
{
left: -100%;
}
.checkbox-wrapper-8 .tgl-skewed:checked + .tgl-btn:after
{
left: 0;
}
.checkbox-wrapper-8 .tgl-skewed:checked + .tgl-btn:active:after
{
left: 10%;
}
HTML
<div class="checkbox-wrapper-9">
<input class="tgl tgl-flat" id="cb4-9" type="checkbox"/>
<label class="tgl-btn" for="cb4-9"></label>
</div>
CSS
.checkbox-wrapper-9 .tgl
{
display: none;
}
.checkbox-wrapper-9 .tgl,
.checkbox-wrapper-9 .tgl:after,
.checkbox-wrapper-9 .tgl:before,
.checkbox-wrapper-9 .tgl *,
.checkbox-wrapper-9 .tgl *:after,
.checkbox-wrapper-9 .tgl *:before,
.checkbox-wrapper-9 .tgl + .tgl-btn
{
box-sizing: border-box;
}
.checkbox-wrapper-9 .tgl::-moz-selection,
.checkbox-wrapper-9 .tgl:after::-moz-selection,
.checkbox-wrapper-9 .tgl:before::-moz-selection,
.checkbox-wrapper-9 .tgl *::-moz-selection,
.checkbox-wrapper-9 .tgl *:after::-moz-selection,
.checkbox-wrapper-9 .tgl *:before::-moz-selection,
.checkbox-wrapper-9 .tgl + .tgl-btn::-moz-selection,
.checkbox-wrapper-9 .tgl::selection,
.checkbox-wrapper-9 .tgl:after::selection,
.checkbox-wrapper-9 .tgl:before::selection,
.checkbox-wrapper-9 .tgl *::selection,
.checkbox-wrapper-9 .tgl *:after::selection,
.checkbox-wrapper-9 .tgl *:before::selection,
.checkbox-wrapper-9 .tgl + .tgl-btn::selection
{
background: none;
}
.checkbox-wrapper-9 .tgl + .tgl-btn
{
outline: 0;
display: block;
width: 4em;
height: 2em;
position: relative;
cursor: pointer;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.checkbox-wrapper-9 .tgl + .tgl-btn:after,
.checkbox-wrapper-9 .tgl + .tgl-btn:before
{
position: relative;
display: block;
content: "";
width: 50%;
height: 100%;
}
.checkbox-wrapper-9 .tgl + .tgl-btn:after
{
left: 0;
}
.checkbox-wrapper-9 .tgl + .tgl-btn:before
{
display: none;
}
.checkbox-wrapper-9 .tgl:checked + .tgl-btn:after
{
left: 50%;
}
.checkbox-wrapper-9 .tgl-flat + .tgl-btn
{
padding: 2px;
transition: all 0.2s ease;
background: #fff;
border: 4px solid #f2f2f2;
border-radius: 2em;
}
.checkbox-wrapper-9 .tgl-flat + .tgl-btn:after
{
transition: all 0.2s ease;
background: #f2f2f2;
content: "";
border-radius: 1em;
}
.checkbox-wrapper-9 .tgl-flat:checked + .tgl-btn
{
border: 4px solid #7FC6A6;
}
.checkbox-wrapper-9 .tgl-flat:checked + .tgl-btn:after
{
left: 50%;
background: #7FC6A6;
}
HTML
<div class="checkbox-wrapper-10">
<input class="tgl tgl-flip" id="cb5" type="checkbox" checked />
<label class="tgl-btn" data-tg-off="Nope" data-tg-on="Yeah!" for="cb5"></label>
</div>
CSS
.checkbox-wrapper-10 .tgl
{
display: none;
}
.checkbox-wrapper-10 .tgl,
.checkbox-wrapper-10 .tgl:after,
.checkbox-wrapper-10 .tgl:before,
.checkbox-wrapper-10 .tgl *,
.checkbox-wrapper-10 .tgl *:after,
.checkbox-wrapper-10 .tgl *:before,
.checkbox-wrapper-10 .tgl + .tgl-btn
{
box-sizing: border-box;
}
.checkbox-wrapper-10 .tgl::-moz-selection,
.checkbox-wrapper-10 .tgl:after::-moz-selection,
.checkbox-wrapper-10 .tgl:before::-moz-selection,
.checkbox-wrapper-10 .tgl *::-moz-selection,
.checkbox-wrapper-10 .tgl *:after::-moz-selection,
.checkbox-wrapper-10 .tgl *:before::-moz-selection,
.checkbox-wrapper-10 .tgl + .tgl-btn::-moz-selection,
.checkbox-wrapper-10 .tgl::selection,
.checkbox-wrapper-10 .tgl:after::selection,
.checkbox-wrapper-10 .tgl:before::selection,
.checkbox-wrapper-10 .tgl *::selection,
.checkbox-wrapper-10 .tgl *:after::selection,
.checkbox-wrapper-10 .tgl *:before::selection,
.checkbox-wrapper-10 .tgl + .tgl-btn::selection
{
background: none;
}
.checkbox-wrapper-10 .tgl + .tgl-btn
{
outline: 0;
display: block;
width: 4em;
height: 2em;
position: relative;
cursor: pointer;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.checkbox-wrapper-10 .tgl + .tgl-btn:after,
.checkbox-wrapper-10 .tgl + .tgl-btn:before
{
position: relative;
display: block;
content: "";
width: 50%;
height: 100%;
}
.checkbox-wrapper-10 .tgl + .tgl-btn:after
{
left: 0;
}
.checkbox-wrapper-10 .tgl + .tgl-btn:before
{
display: none;
}
.checkbox-wrapper-10 .tgl:checked + .tgl-btn:after
{
left: 50%;
}
.checkbox-wrapper-10 .tgl-flip + .tgl-btn
{
padding: 2px;
transition: all 0.2s ease;
font-family: sans-serif;
perspective: 100px;
}
.checkbox-wrapper-10 .tgl-flip + .tgl-btn:after,
.checkbox-wrapper-10 .tgl-flip + .tgl-btn:before
{
display: inline-block;
transition: all 0.4s ease;
width: 100%;
text-align: center;
position: absolute;
line-height: 2em;
font-weight: bold;
color: #fff;
position: absolute;
top: 0;
left: 0;
-webkit-backface-visibility: hidden;
backface-visibility: hidden;
border-radius: 4px;
}
.checkbox-wrapper-10 .tgl-flip + .tgl-btn:after
{
content: attr(data-tg-on);
background: #02C66F;
transform: rotateY(-180deg);
}
.checkbox-wrapper-10 .tgl-flip + .tgl-btn:before
{
background: #FF3A19;
content: attr(data-tg-off);
}
.checkbox-wrapper-10 .tgl-flip + .tgl-btn:active:before
{
transform: rotateY(-20deg);
}
.checkbox-wrapper-10 .tgl-flip:checked + .tgl-btn:before
{
transform: rotateY(180deg);
}
.checkbox-wrapper-10 .tgl-flip:checked + .tgl-btn:after
{
transform: rotateY(0);
left: 0;
background: #7FC6A6;
}
.checkbox-wrapper-10 .tgl-flip:checked + .tgl-btn:active:after
{
transform: rotateY(20deg);
}
HTML
<div class="checkbox-wrapper-11">
<input id="02-11" type="checkbox" name="r" value="2">
<label for="02-11">To-do</label>
</div>
CSS
.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: -webkit-fit-content;
width: -moz-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]
{
-webkit-appearance: none;
-moz-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
{
-webkit-animation: check-01-11 0.4s ease forwards;
animation: check-01-11 0.4s ease forwards;
}
.checkbox-wrapper-11 input[type=checkbox]:checked::after
{
-webkit-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);
-webkit-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);
-webkit-animation: slice-11 0.4s ease forwards;
animation: slice-11 0.4s ease forwards;
}
.checkbox-wrapper-11 input[type=checkbox]:checked + label::after
{
-webkit-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;
}
}
HTML
<div class="checkbox-wrapper-12">
<div class="cbx">
<input id="cbx-12" type="checkbox"/>
<label for="cbx-12"></label>
<svg width="15" height="14" viewbox="0 0 15 14" fill="none">
<path d="M2 8.36364L6.23077 12L13 2"></path>
</svg>
</div>
<!-- Gooey-->
<svg xmlns="http://www.w3.org/2000/svg" version="1.1">
<defs>
<filter id="goo-12">
<fegaussianblur in="SourceGraphic" stddeviation="4" result="blur"></fegaussianblur>
<fecolormatrix in="blur" mode="matrix" values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 22 -7" result="goo-12"></fecolormatrix>
<feblend in="SourceGraphic" in2="goo-12"></feblend>
</filter>
</defs>
</svg>
</div>
CSS
.checkbox-wrapper-12
{
position: relative;
}
.checkbox-wrapper-12 > svg
{
position: absolute;
top: -130%;
left: -170%;
width: 110px;
pointer-events: none;
}
.checkbox-wrapper-12 *
{
box-sizing: border-box;
}
.checkbox-wrapper-12 input[type="checkbox"]
{
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
-webkit-tap-highlight-color: transparent;
cursor: pointer;
margin: 0;
}
.checkbox-wrapper-12 input[type="checkbox"]:focus
{
outline: 0;
}
.checkbox-wrapper-12 .cbx
{
width: 24px;
height: 24px;
top: calc(50vh - 12px);
left: calc(50vw - 12px);
}
.checkbox-wrapper-12 .cbx input
{
position: absolute;
top: 0;
left: 0;
width: 24px;
height: 24px;
border: 2px solid #bfbfc0;
border-radius: 50%;
}
.checkbox-wrapper-12 .cbx label
{
width: 24px;
height: 24px;
background: none;
border-radius: 50%;
position: absolute;
top: 0;
left: 0;
-webkit-filter: url("#goo-12");
filter: url("#goo-12");
transform: trasnlate3d(0, 0, 0);
pointer-events: none;
}
.checkbox-wrapper-12 .cbx svg
{
position: absolute;
top: 5px;
left: 4px;
z-index: 1;
pointer-events: none;
}
.checkbox-wrapper-12 .cbx svg path
{
stroke: #fff;
stroke-width: 3;
stroke-linecap: round;
stroke-linejoin: round;
stroke-dasharray: 19;
stroke-dashoffset: 19;
transition: stroke-dashoffset 0.3s ease;
transition-delay: 0.2s;
}
.checkbox-wrapper-12 .cbx input:checked + label
{
animation: splash-12 0.6s ease forwards;
}
.checkbox-wrapper-12 .cbx input:checked + label + svg path
{
stroke-dashoffset: 0;
}
@-moz-keyframes splash-12
{
40%
{
background: #866efb;
box-shadow: 0 -18px 0 -8px #866efb, 16px -8px 0 -8px #866efb, 16px 8px 0 -8px #866efb, 0 18px 0 -8px #866efb, -16px 8px 0 -8px #866efb, -16px -8px 0 -8px #866efb;
}
100%
{
background: #866efb;
box-shadow: 0 -36px 0 -10px transparent, 32px -16px 0 -10px transparent, 32px 16px 0 -10px transparent, 0 36px 0 -10px transparent, -32px 16px 0 -10px transparent, -32px -16px 0 -10px transparent;
}
}
@-webkit-keyframes splash-12
{
40%
{
background: #866efb;
box-shadow: 0 -18px 0 -8px #866efb, 16px -8px 0 -8px #866efb, 16px 8px 0 -8px #866efb, 0 18px 0 -8px #866efb, -16px 8px 0 -8px #866efb, -16px -8px 0 -8px #866efb;
}
100%
{
background: #866efb;
box-shadow: 0 -36px 0 -10px transparent, 32px -16px 0 -10px transparent, 32px 16px 0 -10px transparent, 0 36px 0 -10px transparent, -32px 16px 0 -10px transparent, -32px -16px 0 -10px transparent;
}
}
@-o-keyframes splash-12
{
40%
{
background: #866efb;
box-shadow: 0 -18px 0 -8px #866efb, 16px -8px 0 -8px #866efb, 16px 8px 0 -8px #866efb, 0 18px 0 -8px #866efb, -16px 8px 0 -8px #866efb, -16px -8px 0 -8px #866efb;
}
100%
{
background: #866efb;
box-shadow: 0 -36px 0 -10px transparent, 32px -16px 0 -10px transparent, 32px 16px 0 -10px transparent, 0 36px 0 -10px transparent, -32px 16px 0 -10px transparent, -32px -16px 0 -10px transparent;
}
}
@keyframes splash-12
{
40%
{
background: #866efb;
box-shadow: 0 -18px 0 -8px #866efb, 16px -8px 0 -8px #866efb, 16px 8px 0 -8px #866efb, 0 18px 0 -8px #866efb, -16px 8px 0 -8px #866efb, -16px -8px 0 -8px #866efb;
}
100%
{
background: #866efb;
box-shadow: 0 -36px 0 -10px transparent, 32px -16px 0 -10px transparent, 32px 16px 0 -10px transparent, 0 36px 0 -10px transparent, -32px 16px 0 -10px transparent, -32px -16px 0 -10px transparent;
}
}
HTML
<div class="checkbox-wrapper-13">
<input id="c1-13" type="checkbox">
<label for="c1-13">Checkbox</label>
</div>
CSS
@supports (-webkit-appearance: none) or (-moz-appearance: none)
{
.checkbox-wrapper-13 input[type=checkbox]
{
--active: #275EFE;
--active-inner: #fff;
--focus: 2px rgba(39, 94, 254, .3);
--border: #BBC1E1;
--border-hover: #275EFE;
--background: #fff;
--disabled: #F6F8FF;
--disabled-inner: #E1E6F9;
-webkit-appearance: none;
-moz-appearance: none;
height: 21px;
outline: none;
display: inline-block;
vertical-align: top;
position: relative;
margin: 0;
cursor: pointer;
border: 1px solid var(--bc, var(--border));
background: var(--b, var(--background));
transition: background 0.3s, border-color 0.3s, box-shadow 0.2s;
}
.checkbox-wrapper-13 input[type=checkbox]:after
{
content: "";
display: block;
left: 0;
top: 0;
position: absolute;
transition: transform var(--d-t, 0.3s) var(--d-t-e, ease), opacity var(--d-o, 0.2s);
}
.checkbox-wrapper-13 input[type=checkbox]:checked
{
--b: var(--active);
--bc: var(--active);
--d-o: .3s;
--d-t: .6s;
--d-t-e: cubic-bezier(.2, .85, .32, 1.2);
}
.checkbox-wrapper-13 input[type=checkbox]:disabled
{
--b: var(--disabled);
cursor: not-allowed;
opacity: 0.9;
}
.checkbox-wrapper-13 input[type=checkbox]:disabled:checked
{
--b: var(--disabled-inner);
--bc: var(--border);
}
.checkbox-wrapper-13 input[type=checkbox]:disabled + label
{
cursor: not-allowed;
}
.checkbox-wrapper-13 input[type=checkbox]:hover:not(:checked):not(:disabled)
{
--bc: var(--border-hover);
}
.checkbox-wrapper-13 input[type=checkbox]:focus
{
box-shadow: 0 0 0 var(--focus);
}
.checkbox-wrapper-13 input[type=checkbox]:not(.switch)
{
width: 21px;
}
.checkbox-wrapper-13 input[type=checkbox]:not(.switch):after
{
opacity: var(--o, 0);
}
.checkbox-wrapper-13 input[type=checkbox]:not(.switch):checked
{
--o: 1;
}
.checkbox-wrapper-13 input[type=checkbox] + label
{
display: inline-block;
vertical-align: middle;
cursor: pointer;
margin-left: 4px;
}
.checkbox-wrapper-13 input[type=checkbox]:not(.switch)
{
border-radius: 7px;
}
.checkbox-wrapper-13 input[type=checkbox]:not(.switch):after
{
width: 5px;
height: 9px;
border: 2px solid var(--active-inner);
border-top: 0;
border-left: 0;
left: 7px;
top: 4px;
transform: rotate(var(--r, 20deg));
}
.checkbox-wrapper-13 input[type=checkbox]:not(.switch):checked
{
--r: 43deg;
}
}
.checkbox-wrapper-13 *
{
box-sizing: inherit;
}
.checkbox-wrapper-13 *:before,
.checkbox-wrapper-13 *:after
{
box-sizing: inherit;
}
HTML
<div class="checkbox-wrapper-14">
<input id="s1-14" type="checkbox" class="switch">
<label for="s1-14">Switch</label>
</div>
CSS
@supports (-webkit-appearance: none) or (-moz-appearance: none)
{
.checkbox-wrapper-14 input[type=checkbox]
{
--active: #275EFE;
--active-inner: #fff;
--focus: 2px rgba(39, 94, 254, .3);
--border: #BBC1E1;
--border-hover: #275EFE;
--background: #fff;
--disabled: #F6F8FF;
--disabled-inner: #E1E6F9;
-webkit-appearance: none;
-moz-appearance: none;
height: 21px;
outline: none;
display: inline-block;
vertical-align: top;
position: relative;
margin: 0;
cursor: pointer;
border: 1px solid var(--bc, var(--border));
background: var(--b, var(--background));
transition: background 0.3s, border-color 0.3s, box-shadow 0.2s;
}
.checkbox-wrapper-14 input[type=checkbox]:after
{
content: "";
display: block;
left: 0;
top: 0;
position: absolute;
transition: transform var(--d-t, 0.3s) var(--d-t-e, ease), opacity var(--d-o, 0.2s);
}
.checkbox-wrapper-14 input[type=checkbox]:checked
{
--b: var(--active);
--bc: var(--active);
--d-o: .3s;
--d-t: .6s;
--d-t-e: cubic-bezier(.2, .85, .32, 1.2);
}
.checkbox-wrapper-14 input[type=checkbox]:disabled
{
--b: var(--disabled);
cursor: not-allowed;
opacity: 0.9;
}
.checkbox-wrapper-14 input[type=checkbox]:disabled:checked
{
--b: var(--disabled-inner);
--bc: var(--border);
}
.checkbox-wrapper-14 input[type=checkbox]:disabled + label
{
cursor: not-allowed;
}
.checkbox-wrapper-14 input[type=checkbox]:hover:not(:checked):not(:disabled)
{
--bc: var(--border-hover);
}
.checkbox-wrapper-14 input[type=checkbox]:focus
{
box-shadow: 0 0 0 var(--focus);
}
.checkbox-wrapper-14 input[type=checkbox]:not(.switch)
{
width: 21px;
}
.checkbox-wrapper-14 input[type=checkbox]:not(.switch):after
{
opacity: var(--o, 0);
}
.checkbox-wrapper-14 input[type=checkbox]:not(.switch):checked
{
--o: 1;
}
.checkbox-wrapper-14 input[type=checkbox] + label
{
display: inline-block;
vertical-align: middle;
cursor: pointer;
margin-left: 4px;
}
.checkbox-wrapper-14 input[type=checkbox]:not(.switch)
{
border-radius: 7px;
}
.checkbox-wrapper-14 input[type=checkbox]:not(.switch):after
{
width: 5px;
height: 9px;
border: 2px solid var(--active-inner);
border-top: 0;
border-left: 0;
left: 7px;
top: 4px;
transform: rotate(var(--r, 20deg));
}
.checkbox-wrapper-14 input[type=checkbox]:not(.switch):checked
{
--r: 43deg;
}
.checkbox-wrapper-14 input[type=checkbox].switch
{
width: 38px;
border-radius: 11px;
}
.checkbox-wrapper-14 input[type=checkbox].switch:after
{
left: 2px;
top: 2px;
border-radius: 50%;
width: 17px;
height: 17px;
background: var(--ab, var(--border));
transform: translateX(var(--x, 0));
}
.checkbox-wrapper-14 input[type=checkbox].switch:checked
{
--ab: var(--active-inner);
--x: 17px;
}
.checkbox-wrapper-14 input[type=checkbox].switch:disabled:not(:checked):after
{
opacity: 0.6;
}
}
.checkbox-wrapper-14 *
{
box-sizing: inherit;
}
.checkbox-wrapper-14 *:before,
.checkbox-wrapper-14 *:after
{
box-sizing: inherit;
}
HTML
<div class="checkbox-wrapper-15">
<input class="inp-cbx" id="cbx-15" type="checkbox" style="display: none;"/>
<label class="cbx" for="cbx-15">
<span>
<svg width="12px" height="9px" viewbox="0 0 12 9">
<polyline points="1 5 4 8 11 1"></polyline>
</svg>
</span>
<span>To-do</span>
</label>
</div>
CSS
.checkbox-wrapper-15 .cbx
{
-webkit-user-select: none;
user-select: none;
-webkit-tap-highlight-color: transparent;
cursor: pointer;
}
.checkbox-wrapper-15 .cbx span
{
display: inline-block;
vertical-align: middle;
transform: translate3d(0, 0, 0);
}
.checkbox-wrapper-15 .cbx span:first-child
{
position: relative;
width: 24px;
height: 24px;
border-radius: 50%;
transform: scale(1);
vertical-align: middle;
border: 1px solid #B9B8C3;
transition: all 0.2s ease;
}
.checkbox-wrapper-15 .cbx span:first-child svg
{
position: absolute;
z-index: 1;
top: 8px;
left: 6px;
fill: none;
stroke: white;
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-15 .cbx span:first-child:before
{
content: "";
width: 100%;
height: 100%;
background: #506EEC;
display: block;
transform: scale(0);
opacity: 1;
border-radius: 50%;
transition-delay: 0.2s;
}
.checkbox-wrapper-15 .cbx span:last-child
{
margin-left: 8px;
}
.checkbox-wrapper-15 .cbx span:last-child:after
{
content: "";
position: absolute;
top: 8px;
left: 0;
height: 1px;
width: 100%;
background: #B9B8C3;
transform-origin: 0 0;
transform: scaleX(0);
}
.checkbox-wrapper-15 .cbx:hover span:first-child
{
border-color: #3c53c7;
}
.checkbox-wrapper-15 .inp-cbx:checked + .cbx span:first-child
{
border-color: #3c53c7;
background: #3c53c7;
animation: check-15 0.6s ease;
}
.checkbox-wrapper-15 .inp-cbx:checked + .cbx span:first-child svg
{
stroke-dashoffset: 0;
}
.checkbox-wrapper-15 .inp-cbx:checked + .cbx span:first-child:before
{
transform: scale(2.2);
opacity: 0;
transition: all 0.6s ease;
}
.checkbox-wrapper-15 .inp-cbx:checked + .cbx span:last-child
{
color: #B9B8C3;
transition: all 0.3s ease;
}
.checkbox-wrapper-15 .inp-cbx:checked + .cbx span:last-child:after
{
transform: scaleX(1);
transition: all 0.3s ease;
}
@keyframes check-15
{
50%
{
transform: scale(1.2);
}
}
HTML
<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>
CSS
.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);
-webkit-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;
}
HTML
<div class="checkbox-wrapper-17">
<input type="checkbox" id="switch-17" /><label for="switch-17"></label>
</div>
CSS
.checkbox-wrapper-17 input[type=checkbox]
{
height: 0;
width: 0;
visibility: hidden;
}
.checkbox-wrapper-17 label
{
--size: 50px;
cursor: pointer;
width: var(--size);
height: calc(var(--size) / 2);
background: grey;
display: block;
border-radius: 100px;
position: relative;
}
.checkbox-wrapper-17 label:after
{
content: '';
position: absolute;
top: 6%;
left: 2.5%;
width: calc(50% - 5%);
height: calc(100% - 11%);
background: #fff;
border-radius: 90px;
transition: 0.3s;
}
.checkbox-wrapper-17 input:checked + label
{
background: #bada55;
}
.checkbox-wrapper-17 input:checked + label:after
{
left: calc(100% - 2.5%);
transform: translateX(-100%);
}
.checkbox-wrapper-17 label:active:after
{
width: 55%;
}
HTML
<div class="checkbox-wrapper-18">
<div class="round">
<input type="checkbox" id="checkbox-18" />
<label for="checkbox-18"></label>
</div>
</div>
CSS
.checkbox-wrapper-18 .round
{
position: relative;
}
.checkbox-wrapper-18 .round label
{
background-color: #fff;
border: 1px solid #ccc;
border-radius: 50%;
cursor: pointer;
height: 28px;
width: 28px;
display: block;
}
.checkbox-wrapper-18 .round label:after
{
border: 2px solid #fff;
border-top: none;
border-right: none;
content: "";
height: 6px;
left: 8px;
opacity: 0;
position: absolute;
top: 9px;
transform: rotate(-45deg);
width: 12px;
}
.checkbox-wrapper-18 .round input[type="checkbox"]
{
visibility: hidden;
display: none;
opacity: 0;
}
.checkbox-wrapper-18 .round input[type="checkbox"]:checked + label
{
background-color: #66bb6a;
border-color: #66bb6a;
}
.checkbox-wrapper-18 .round input[type="checkbox"]:checked + label:after
{
opacity: 1;
}
HTML
<div class="checkbox-wrapper-19">
<input type="checkbox" id="cbtest-19" />
<label for="cbtest-19" class="check-box">
</div>
CSS
.checkbox-wrapper-19
{
box-sizing: border-box;
--background-color: #fff;
--checkbox-height: 25px;
}
@-moz-keyframes dothabottomcheck-19
{
0%
{
height: 0;
}
100%
{
height: calc(var(--checkbox-height) / 2);
}
}
@-webkit-keyframes dothabottomcheck-19
{
0%
{
height: 0;
}
100%
{
height: calc(var(--checkbox-height) / 2);
}
}
@keyframes dothabottomcheck-19
{
0%
{
height: 0;
}
100%
{
height: calc(var(--checkbox-height) / 2);
}
}
@keyframes dothatopcheck-19
{
0%
{
height: 0;
}
50%
{
height: 0;
}
100%
{
height: calc(var(--checkbox-height) * 1.2);
}
}
@-webkit-keyframes dothatopcheck-19
{
0%
{
height: 0;
}
50%
{
height: 0;
}
100%
{
height: calc(var(--checkbox-height) * 1.2);
}
}
@-moz-keyframes dothatopcheck-19
{
0%
{
height: 0;
}
50%
{
height: 0;
}
100%
{
height: calc(var(--checkbox-height) * 1.2);
}
}
.checkbox-wrapper-19 input[type=checkbox]
{
display: none;
}
.checkbox-wrapper-19 .check-box
{
height: var(--checkbox-height);
width: var(--checkbox-height);
background-color: transparent;
border: calc(var(--checkbox-height) * .1) solid #000;
border-radius: 5px;
position: relative;
display: inline-block;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
-moz-transition: border-color ease 0.2s;
-o-transition: border-color ease 0.2s;
-webkit-transition: border-color ease 0.2s;
transition: border-color ease 0.2s;
cursor: pointer;
}
.checkbox-wrapper-19 .check-box::before,
.checkbox-wrapper-19 .check-box::after
{
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
position: absolute;
height: 0;
width: calc(var(--checkbox-height) * .2);
background-color: #34b93d;
display: inline-block;
-moz-transform-origin: left top;
-ms-transform-origin: left top;
-o-transform-origin: left top;
-webkit-transform-origin: left top;
transform-origin: left top;
border-radius: 5px;
content: " ";
-webkit-transition: opacity ease 0.5;
-moz-transition: opacity ease 0.5;
transition: opacity ease 0.5;
}
.checkbox-wrapper-19 .check-box::before
{
top: calc(var(--checkbox-height) * .72);
left: calc(var(--checkbox-height) * .41);
box-shadow: 0 0 0 calc(var(--checkbox-height) * .05) var(--background-color);
-moz-transform: rotate(-135deg);
-ms-transform: rotate(-135deg);
-o-transform: rotate(-135deg);
-webkit-transform: rotate(-135deg);
transform: rotate(-135deg);
}
.checkbox-wrapper-19 .check-box::after
{
top: calc(var(--checkbox-height) * .37);
left: calc(var(--checkbox-height) * .05);
-moz-transform: rotate(-45deg);
-ms-transform: rotate(-45deg);
-o-transform: rotate(-45deg);
-webkit-transform: rotate(-45deg);
transform: rotate(-45deg);
}
.checkbox-wrapper-19 input[type=checkbox]:checked + .check-box,
.checkbox-wrapper-19 .check-box.checked
{
border-color: #34b93d;
}
.checkbox-wrapper-19 input[type=checkbox]:checked + .check-box::after,
.checkbox-wrapper-19 .check-box.checked::after
{
height: calc(var(--checkbox-height) / 2);
-moz-animation: dothabottomcheck-19 0.2s ease 0s forwards;
-o-animation: dothabottomcheck-19 0.2s ease 0s forwards;
-webkit-animation: dothabottomcheck-19 0.2s ease 0s forwards;
animation: dothabottomcheck-19 0.2s ease 0s forwards;
}
.checkbox-wrapper-19 input[type=checkbox]:checked + .check-box::before,
.checkbox-wrapper-19 .check-box.checked::before
{
height: calc(var(--checkbox-height) * 1.2);
-moz-animation: dothatopcheck-19 0.4s ease 0s forwards;
-o-animation: dothatopcheck-19 0.4s ease 0s forwards;
-webkit-animation: dothatopcheck-19 0.4s ease 0s forwards;
animation: dothatopcheck-19 0.4s ease 0s forwards;
}
HTML
<div class="checkbox-wrapper-20">
<div class="switch">
<input id="one-20" class="input" type="checkbox" />
<label for="one-20" class="slider"></label>
</div>
</div>
CSS
.checkbox-wrapper-20
{
--slider-height: 8px;
--slider-width: calc(var(--slider-height) * 4);
--switch-height: calc(var(--slider-height) * 3);
--switch-width: var(--switch-height);
--switch-shift: var(--slider-height);
--transition: all 0.2s ease;
--switch-on-color: #ef0460;
--slider-on-color: #fc5d9b;
--switch-off-color: #eeeeee;
--slider-off-color: #c5c5c5;
}
.checkbox-wrapper-20 .switch
{
display: block;
}
.checkbox-wrapper-20 .switch .slider
{
position: relative;
display: inline-block;
height: var(--slider-height);
width: var(--slider-width);
border-radius: var(--slider-height);
cursor: pointer;
background: var(--slider-off-color);
transition: var(--transition);
}
.checkbox-wrapper-20 .switch .slider:after
{
background: var(--switch-off-color);
position: absolute;
left: calc(-1 * var(--switch-shift));
top: calc((var(--slider-height) - var(--switch-height)) / 2);
display: block;
width: var(--switch-height);
height: var(--switch-width);
border-radius: 50%;
box-shadow: 0px 2px 2px rgba(0, 0, 0, .2);
content: '';
transition: var(--transition);
}
.checkbox-wrapper-20 .switch label
{
margin-right: 7px;
}
.checkbox-wrapper-20 .switch .input
{
display: none;
}
.checkbox-wrapper-20 .switch .input ~ .label
{
margin-left: var(--slider-height);
}
.checkbox-wrapper-20 .switch .input:checked ~ .slider:after
{
left: calc(var(--slider-width) - var(--switch-width) + var(--switch-shift));
}
.checkbox-wrapper-20 .switch .input:checked ~ .slider
{
background: var(--slider-on-color);
}
.checkbox-wrapper-20 .switch .input:checked ~ .slider:after
{
background: var(--switch-on-color);
}
HTML
<div class="checkbox-wrapper-21">
<label class="control control--checkbox">
Checkbox
<input type="checkbox" />
<div class="control__indicator"></div>
</label>
</div>
CSS
.checkbox-wrapper-21 .control
{
display: block;
position: relative;
padding-left: 30px;
cursor: pointer;
font-size: 18px;
}
.checkbox-wrapper-21 .control input
{
position: absolute;
z-index: -1;
opacity: 0;
}
.checkbox-wrapper-21 .control__indicator
{
position: absolute;
top: 2px;
left: 0;
height: 20px;
width: 20px;
background: #e6e6e6;
}
.checkbox-wrapper-21 .control:hover input ~ .control__indicator,
.checkbox-wrapper-21 .control input:focus ~ .control__indicator
{
background: #ccc;
}
.checkbox-wrapper-21 .control input:checked ~ .control__indicator
{
background: #2aa1c0;
}
.checkbox-wrapper-21 .control:hover input:not([disabled]):checked ~ .control__indicator,
.checkbox-wrapper-21 .control input:checked:focus ~ .control__indicator
{
background: #0e647d;
}
.checkbox-wrapper-21 .control input:disabled ~ .control__indicator
{
background: #e6e6e6;
opacity: 0.6;
pointer-events: none;
}
.checkbox-wrapper-21 .control__indicator:after
{
content: '';
position: absolute;
display: none;
}
.checkbox-wrapper-21 .control input:checked ~ .control__indicator:after
{
display: block;
}
.checkbox-wrapper-21 .control--checkbox .control__indicator:after
{
left: 8px;
top: 4px;
width: 3px;
height: 8px;
border: solid #fff;
border-width: 0 2px 2px 0;
transform: rotate(45deg);
}
.checkbox-wrapper-21 .control--checkbox input:disabled ~ .control__indicator:after
{
border-color: #7b7b7b;
}
HTML
<div class="checkbox-wrapper-22">
<label class="switch" for="checkbox">
<input type="checkbox" id="checkbox" />
<div class="slider round"></div>
</label>
</div>
CSS
.checkbox-wrapper-22 .switch
{
display: inline-block;
height: 34px;
position: relative;
width: 60px;
}
.checkbox-wrapper-22 .switch input
{
display: none;
}
.checkbox-wrapper-22 .slider
{
background-color: #ccc;
bottom: 0;
cursor: pointer;
left: 0;
position: absolute;
right: 0;
top: 0;
transition: .4s;
}
.checkbox-wrapper-22 .slider:before
{
background-color: #fff;
bottom: 4px;
content: "";
height: 26px;
left: 4px;
position: absolute;
transition: .4s;
width: 26px;
}
.checkbox-wrapper-22 input:checked + .slider
{
background-color: #66bb6a;
}
.checkbox-wrapper-22 input:checked + .slider:before
{
transform: translateX(26px);
}
.checkbox-wrapper-22 .slider.round
{
border-radius: 34px;
}
.checkbox-wrapper-22 .slider.round:before
{
border-radius: 50%;
}
HTML
<div class="checkbox-wrapper-23">
<input type="checkbox" id="check-23"/>
<label for="check-23" style="--size: 30px">
<svg viewBox="0,0,50,50">
<path d="M5 30 L 20 45 L 45 5"></path>
</svg>
</label>
</div>
CSS
.checkbox-wrapper-23 *,
.checkbox-wrapper-23 *:after,
.checkbox-wrapper-23 *:before
{
box-sizing: border-box;
}
.checkbox-wrapper-23 input
{
position: absolute;
opacity: 0;
}
.checkbox-wrapper-23 input:checked + label svg path
{
stroke-dashoffset: 0;
}
.checkbox-wrapper-23 input:focus + label
{
transform: scale(1.03);
}
.checkbox-wrapper-23 input + label
{
display: block;
border: 2px solid #333;
width: var(--size);
height: var(--size);
border-radius: 6px;
cursor: pointer;
transition: all .2s ease;
}
.checkbox-wrapper-23 input + label:active
{
transform: scale(1.05);
border-radius: 12px;
}
.checkbox-wrapper-23 input + label svg
{
pointer-events: none;
padding: 5%;
}
.checkbox-wrapper-23 input + label svg path
{
fill: none;
stroke: #333;
stroke-width: 4px;
stroke-linecap: round;
stroke-linejoin: round;
stroke-dasharray: 100;
stroke-dashoffset: 101;
transition: all 250ms cubic-bezier(1,0,.37,.91);
}
HTML
<div class="checkbox-wrapper-24">
<input type="checkbox" id="check-24" name="check" value="" />
<label for="check-24">
<span><!-- This span is needed to create the "checkbox" element --></span>Checkbox
</label>
</div>
CSS
.checkbox-wrapper-24 .checkbox
{
display: table-cell;
width: 100%;
height: 100%;
vertical-align: middle;
text-align: center;
}
.checkbox-wrapper-24 label
{
display: inline-block;
color: #333;
cursor: pointer;
position: relative;
}
.checkbox-wrapper-24 label span
{
display: inline-block;
position: relative;
background-color: transparent;
width: 25px;
height: 25px;
transform-origin: center;
border: 2px solid #333;
border-radius: 50%;
vertical-align: middle;
margin-right: 10px;
transition: background-color 150ms 200ms, transform 350ms cubic-bezier(0.78, -1.22, 0.17, 1.89);
}
.checkbox-wrapper-24 label span:before
{
content: "";
width: 0px;
height: 2px;
border-radius: 2px;
background: #333;
position: absolute;
transform: rotate(45deg);
top: 13px;
left: 9px;
transition: width 50ms ease 50ms;
transform-origin: 0% 0%;
}
.checkbox-wrapper-24 label span:after
{
content: "";
width: 0;
height: 2px;
border-radius: 2px;
background: #333;
position: absolute;
transform: rotate(305deg);
top: 16px;
left: 10px;
transition: width 50ms ease;
transform-origin: 0% 0%;
}
.checkbox-wrapper-24 label:hover span:before
{
width: 5px;
transition: width 100ms ease;
}
.checkbox-wrapper-24 label:hover span:after
{
width: 10px;
transition: width 150ms ease 100ms;
}
.checkbox-wrapper-24 input[type=checkbox]
{
display: none;
}
.checkbox-wrapper-24 input[type=checkbox]:checked + label span
{
background-color: #333;
transform: scale(1.25);
}
.checkbox-wrapper-24 input[type=checkbox]:checked + label span:after
{
width: 10px;
background: #fff;
transition: width 150ms ease 100ms;
}
.checkbox-wrapper-24 input[type=checkbox]:checked + label span:before
{
width: 5px;
background: #fff;
transition: width 150ms ease 100ms;
}
.checkbox-wrapper-24 input[type=checkbox]:checked + label:hover span
{
background-color: #333;
transform: scale(1.25);
}
.checkbox-wrapper-24 input[type=checkbox]:checked + label:hover span:after
{
width: 10px;
background: #fff;
transition: width 150ms ease 100ms;
}
.checkbox-wrapper-24 input[type=checkbox]:checked + label:hover span:before
{
width: 5px;
background: #fff;
transition: width 150ms ease 100ms;
}
HTML
<div class="checkbox-wrapper-25">
<input type="checkbox">
</div>
CSS
.checkbox-wrapper-25 input[type="checkbox"]
{
background-image: -webkit-linear-gradient(hsla(0,0%,0%,.1), hsla(0,0%,100%,.1)),
-webkit-linear-gradient(left, #f66 50%, #6cf 50%);
background-size: 100% 100%, 200% 100%;
background-position: 0 0, 15px 0;
border-radius: 25px;
box-shadow: inset 0 1px 4px hsla(0,0%,0%,.5),
inset 0 0 10px hsla(0,0%,0%,.5),
0 0 0 1px hsla(0,0%,0%,.1),
0 -1px 2px 2px hsla(0,0%,0%,.25),
0 2px 2px 2px hsla(0,0%,100%,.75);
cursor: pointer;
height: 25px;
padding-right: 25px;
width: 75px;
-webkit-appearance: none;
-webkit-transition: .25s;
}
.checkbox-wrapper-25 input[type="checkbox"]:after
{
background-color: #eee;
background-image: -webkit-linear-gradient(hsla(0,0%,100%,.1), hsla(0,0%,0%,.1));
border-radius: 25px;
box-shadow: inset 0 1px 1px 1px hsla(0,0%,100%,1),
inset 0 -1px 1px 1px hsla(0,0%,0%,.25),
0 1px 3px 1px hsla(0,0%,0%,.5),
0 0 2px hsla(0,0%,0%,.25);
content: '';
display: block;
height: 25px;
width: 50px;
}
.checkbox-wrapper-25 input[type="checkbox"]:checked
{
background-position: 0 0, 35px 0;
padding-left: 25px;
padding-right: 0;
}
HTML
<div class="checkbox-wrapper-26">
<input type="checkbox" id="_checkbox-26">
<label for="_checkbox-26">
<div class="tick_mark"></div>
</label>
</div>
CSS
.checkbox-wrapper-26 *
{
-webkit-tap-highlight-color: transparent;
outline: none;
}
.checkbox-wrapper-26 input[type="checkbox"]
{
display: none;
}
.checkbox-wrapper-26 label
{
--size: 50px;
--shadow: calc(var(--size) * .07) calc(var(--size) * .1);
position: relative;
display: block;
width: var(--size);
height: var(--size);
margin: 0 auto;
background-color: #f72414;
border-radius: 50%;
box-shadow: 0 var(--shadow) #ffbeb8;
cursor: pointer;
transition: 0.2s ease transform, 0.2s ease background-color,
0.2s ease box-shadow;
overflow: hidden;
z-index: 1;
}
.checkbox-wrapper-26 label:before
{
content: "";
position: absolute;
top: 50%;
right: 0;
left: 0;
width: calc(var(--size) * .7);
height: calc(var(--size) * .7);
margin: 0 auto;
background-color: #fff;
transform: translateY(-50%);
border-radius: 50%;
box-shadow: inset 0 var(--shadow) #ffbeb8;
transition: 0.2s ease width, 0.2s ease height;
}
.checkbox-wrapper-26 label:hover:before
{
width: calc(var(--size) * .55);
height: calc(var(--size) * .55);
box-shadow: inset 0 var(--shadow) #ff9d96;
}
.checkbox-wrapper-26 label:active
{
transform: scale(0.9);
}
.checkbox-wrapper-26 .tick_mark
{
position: absolute;
top: -1px;
right: 0;
left: calc(var(--size) * -.05);
width: calc(var(--size) * .6);
height: calc(var(--size) * .6);
margin: 0 auto;
margin-left: calc(var(--size) * .14);
transform: rotateZ(-40deg);
}
.checkbox-wrapper-26 .tick_mark:before,
.checkbox-wrapper-26 .tick_mark:after
{
content: "";
position: absolute;
background-color: #fff;
border-radius: 2px;
opacity: 0;
transition: 0.2s ease transform, 0.2s ease opacity;
}
.checkbox-wrapper-26 .tick_mark:before
{
left: 0;
bottom: 0;
width: calc(var(--size) * .1);
height: calc(var(--size) * .3);
box-shadow: -2px 0 5px rgba(0, 0, 0, 0.23);
transform: translateY(calc(var(--size) * -.68));
}
.checkbox-wrapper-26 .tick_mark:after
{
left: 0;
bottom: 0;
width: 100%;
height: calc(var(--size) * .1);
box-shadow: 0 3px 5px rgba(0, 0, 0, 0.23);
transform: translateX(calc(var(--size) * .78));
}
.checkbox-wrapper-26 input[type="checkbox"]:checked + label
{
background-color: #07d410;
box-shadow: 0 var(--shadow) #92ff97;
}
.checkbox-wrapper-26 input[type="checkbox"]:checked + label:before
{
width: 0;
height: 0;
}
.checkbox-wrapper-26 input[type="checkbox"]:checked + label .tick_mark:before,
.checkbox-wrapper-26 input[type="checkbox"]:checked + label .tick_mark:after
{
transform: translate(0);
opacity: 1;
}
HTML
<div class="checkbox-wrapper-27">
<label class="checkbox">
<input type="checkbox">
<span class="checkbox__icon"></span>
Checkbox
</label>
</div>
CSS
.checkbox-wrapper-27 .checkbox
{
cursor: pointer;
-webkit-tap-highlight-color: transparent;
-webkit-user-select: none;
-moz-user-select: none;
user-select: none;
}
.checkbox-wrapper-27 .checkbox > input[type="checkbox"]
{
position: absolute;
opacity: 0;
z-index: -1;
}
.checkbox-wrapper-27 .checkbox__icon
{
display: inline-block;
color: #999;
vertical-align: middle;
margin-right: 5px;
}
.checkbox-wrapper-27 input[type="checkbox"]:checked ~ .checkbox__icon
{
color: #2A7DEA;
}
.checkbox-wrapper-27 .checkbox__icon:before
{
font-family: "icons-27";
speak: none;
font-style: normal;
font-weight: normal;
font-variant: normal;
text-transform: none;
/* Better Font Rendering =========== */
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.checkbox-wrapper-27 .icon--check:before,
.checkbox-wrapper-27 input[type="checkbox"]:checked ~ .checkbox__icon:before
{
content: "\e601";
}
.checkbox-wrapper-27 .icon--check-empty:before,
.checkbox-wrapper-27 .checkbox__icon:before
{
content: "\e600";
}
@font-face
{
font-family: "icons-27";
font-weight: normal;
font-style: normal;
src: url("data:application/x-font-woff;charset=utf-8;base64,d09GRk9UVE8AAAR4AAoAAAAABDAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABDRkYgAAAA9AAAAPgAAAD4fZUAVE9TLzIAAAHsAAAAYAAAAGAIIvy3Y21hcAAAAkwAAABMAAAATBpVzFhnYXNwAAACmAAAAAgAAAAIAAAAEGhlYWQAAAKgAAAANgAAADYAeswzaGhlYQAAAtgAAAAkAAAAJAPiAedobXR4AAAC/AAAABgAAAAYBQAAAG1heHAAAAMUAAAABgAAAAYABlAAbmFtZQAAAxwAAAE5AAABOUQYtNZwb3N0AAAEWAAAACAAAAAgAAMAAAEABAQAAQEBCGljb21vb24AAQIAAQA6+BwC+BsD+BgEHgoAGVP/i4seCgAZU/+LiwwHi2v4lPh0BR0AAAB8Dx0AAACBER0AAAAJHQAAAO8SAAcBAQgPERMWGyBpY29tb29uaWNvbW9vbnUwdTF1MjB1RTYwMHVFNjAxAAACAYkABAAGAQEEBwoNL2X8lA78lA78lA77lA6L+HQVi/yU+JSLi/iU/JSLBd83Fffsi4v77Pvsi4v37AUOi/h0FYv8lPiUi4v33zc3i/s3++yLi/fs9zeL398F9wCFFftN+05JzUdI9xr7GveR95FHzwUO+JQU+JQViwwKAAMCAAGQAAUAAAFMAWYAAABHAUwBZgAAAPUAGQCEAAAAAAAAAAAAAAAAAAAAARAAAAAAAAAAAAAAAAAAAAAAQAAA5gEB4P/g/+AB4AAgAAAAAQAAAAAAAAAAAAAAIAAAAAAAAgAAAAMAAAAUAAMAAQAAABQABAA4AAAACgAIAAIAAgABACDmAf/9//8AAAAAACDmAP/9//8AAf/jGgQAAwABAAAAAAAAAAAAAAABAAH//wAPAAEAAAAAAACkYCfgXw889QALAgAAAAAAz65FuwAAAADPrkW7AAD/4AIAAeAAAAAIAAIAAAAAAAAAAQAAAeD/4AAAAgAAAAAAAgAAAQAAAAAAAAAAAAAAAAAAAAYAAAAAAAAAAAAAAAABAAAAAgAAAAIAAAAAAFAAAAYAAAAAAA4ArgABAAAAAAABAA4AAAABAAAAAAACAA4ARwABAAAAAAADAA4AJAABAAAAAAAEAA4AVQABAAAAAAAFABYADgABAAAAAAAGAAcAMgABAAAAAAAKACgAYwADAAEECQABAA4AAAADAAEECQACAA4ARwADAAEECQADAA4AJAADAAEECQAEAA4AVQADAAEECQAFABYADgADAAEECQAGAA4AOQADAAEECQAKACgAYwBpAGMAbwBtAG8AbwBuAFYAZQByAHMAaQBvAG4AIAAxAC4AMABpAGMAbwBtAG8AbwBuaWNvbW9vbgBpAGMAbwBtAG8AbwBuAFIAZQBnAHUAbABhAHIAaQBjAG8AbQBvAG8AbgBHAGUAbgBlAHIAYQB0AGUAZAAgAGIAeQAgAEkAYwBvAE0AbwBvAG4AAAAAAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==") format("woff");
}
HTML
<div class="checkbox-wrapper-28">
<input id="tmp-28" type="checkbox" class="promoted-input-checkbox"/>
<svg><use xlink:href="#checkmark-28" /></svg>
<label for="tmp-28">
Checkbox
</label>
<svg xmlns="http://www.w3.org/2000/svg" style="display: none">
<symbol id="checkmark-28" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-miterlimit="10" fill="none" d="M22.9 3.7l-15.2 16.6-6.6-7.1">
</path>
</symbol>
</svg>
</div>
CSS
.checkbox-wrapper-28
{
--size: 25px;
position: relative;
}
.checkbox-wrapper-28 *,
.checkbox-wrapper-28 *:before,
.checkbox-wrapper-28 *:after
{
box-sizing: border-box;
}
.checkbox-wrapper-28 .promoted-input-checkbox
{
border: 0;
clip: rect(0 0 0 0);
height: 1px;
margin: -1px;
overflow: hidden;
padding: 0;
position: absolute;
width: 1px;
}
.checkbox-wrapper-28 input:checked ~ svg
{
height: calc(var(--size) * 0.6);
-webkit-animation: draw-checkbox-28 ease-in-out 0.2s forwards;
animation: draw-checkbox-28 ease-in-out 0.2s forwards;
}
.checkbox-wrapper-28 label:active::after
{
background-color: #e6e6e6;
}
.checkbox-wrapper-28 label
{
color: #0080d3;
line-height: var(--size);
cursor: pointer;
position: relative;
}
.checkbox-wrapper-28 label:after
{
content: "";
height: var(--size);
width: var(--size);
margin-right: 8px;
float: left;
border: 2px solid #0080d3;
border-radius: 3px;
transition: 0.15s all ease-out;
}
.checkbox-wrapper-28 svg
{
stroke: #0080d3;
stroke-width: 3px;
height: 0;
width: calc(var(--size) * 0.6);
position: absolute;
left: calc(var(--size) * 0.21);
top: calc(var(--size) * 0.2);
stroke-dasharray: 33;
}
@-webkit-keyframes draw-checkbox-28
{
0%
{
stroke-dashoffset: 33;
}
100%
{
stroke-dashoffset: 0;
}
}
@keyframes draw-checkbox-28
{
0%
{
stroke-dashoffset: 33;
}
100%
{
stroke-dashoffset: 0;
}
}
HTML
<div class="checkbox-wrapper-29">
<label class="checkbox">
<input type="checkbox" class="checkbox__input" />
<span class="checkbox__label"></span>
Checkbox
</label>
</div>
CSS
.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;
-ms-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: */
-webkit-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);
}
HTML
<div class="checkbox-wrapper-30">
<span class="checkbox">
<input type="checkbox" />
<svg>
<use xlink:href="#checkbox-30" class="checkbox"></use>
</svg>
</span>
<svg xmlns="http://www.w3.org/2000/svg" style="display:none">
<symbol id="checkbox-30" viewBox="0 0 22 22">
<path fill="none" stroke="currentColor" d="M5.5,11.3L9,14.8L20.2,3.3l0,0c-0.5-1-1.5-1.8-2.7-1.8h-13c-1.7,0-3,1.3-3,3v13c0,1.7,1.3,3,3,3h13 c1.7,0,3-1.3,3-3v-13c0-0.4-0.1-0.8-0.3-1.2"/>
</symbol>
</svg>
</div>
CSS
.checkbox-wrapper-30 .checkbox
{
--bg: #fff;
--brdr: #d1d6ee;
--brdr-actv: #1e2235;
--brdr-hovr: #bbc1e1;
--dur: calc((var(--size, 2)/2) * 0.6s);
display: inline-block;
width: calc(var(--size, 1) * 22px);
position: relative;
}
.checkbox-wrapper-30 .checkbox:after
{
content: "";
width: 100%;
padding-top: 100%;
display: block;
}
.checkbox-wrapper-30 .checkbox > *
{
position: absolute;
}
.checkbox-wrapper-30 .checkbox input
{
-webkit-appearance: none;
-moz-appearance: none;
-webkit-tap-highlight-color: transparent;
cursor: pointer;
background-color: var(--bg);
border-radius: calc(var(--size, 1) * 4px);
border: calc(var(--newBrdr, var(--size, 1)) * 1px) solid;
color: var(--newBrdrClr, var(--brdr));
outline: none;
margin: 0;
padding: 0;
transition: all calc(var(--dur) / 3) linear;
}
.checkbox-wrapper-30 .checkbox input:hover,
.checkbox-wrapper-30 .checkbox input:checked
{
--newBrdr: calc(var(--size, 1) * 2);
}
.checkbox-wrapper-30 .checkbox input:hover
{
--newBrdrClr: var(--brdr-hovr);
}
.checkbox-wrapper-30 .checkbox input:checked
{
--newBrdrClr: var(--brdr-actv);
transition-delay: calc(var(--dur) /1.3);
}
.checkbox-wrapper-30 .checkbox input:checked + svg
{
--dashArray: 16 93;
--dashOffset: 109;
}
.checkbox-wrapper-30 .checkbox svg
{
fill: none;
left: 0;
pointer-events: none;
stroke: var(--stroke, var(--border-active));
stroke-dasharray: var(--dashArray, 93);
stroke-dashoffset: var(--dashOffset, 94);
stroke-linecap: round;
stroke-linejoin: round;
stroke-width: 2px;
top: 0;
transition: stroke-dasharray var(--dur), stroke-dashoffset var(--dur);
}
.checkbox-wrapper-30 .checkbox svg,
.checkbox-wrapper-30 .checkbox input
{
display: block;
height: 100%;
width: 100%;
}
HTML
<div class="checkbox-wrapper-31">
<input type="checkbox"/>
<svg viewBox="0 0 35.6 35.6">
<circle class="background" cx="17.8" cy="17.8" r="17.8"></circle>
<circle class="stroke" cx="17.8" cy="17.8" r="14.37"></circle>
<polyline class="check" points="11.78 18.12 15.55 22.23 25.17 12.87"></polyline>
</svg>
</div>
CSS
.checkbox-wrapper-31:hover .check
{
stroke-dashoffset: 0;
}
.checkbox-wrapper-31
{
position: relative;
display: inline-block;
width: 40px;
height: 40px;
}
.checkbox-wrapper-31 .background
{
fill: #ccc;
transition: ease all 0.6s;
-webkit-transition: ease all 0.6s;
}
.checkbox-wrapper-31 .stroke
{
fill: none;
stroke: #fff;
stroke-miterlimit: 10;
stroke-width: 2px;
stroke-dashoffset: 100;
stroke-dasharray: 100;
transition: ease all 0.6s;
-webkit-transition: ease all 0.6s;
}
.checkbox-wrapper-31 .check
{
fill: none;
stroke: #fff;
stroke-linecap: round;
stroke-linejoin: round;
stroke-width: 2px;
stroke-dashoffset: 22;
stroke-dasharray: 22;
transition: ease all 0.6s;
-webkit-transition: ease all 0.6s;
}
.checkbox-wrapper-31 input[type=checkbox]
{
position: absolute;
width: 100%;
height: 100%;
left: 0;
top: 0;
margin: 0;
opacity: 0;
-appearance: none;
-webkit-appearance: none;
}
.checkbox-wrapper-31 input[type=checkbox]:hover
{
cursor: pointer;
}
.checkbox-wrapper-31 input[type=checkbox]:checked + svg .background
{
fill: #6cbe45;
}
.checkbox-wrapper-31 input[type=checkbox]:checked + svg .stroke
{
stroke-dashoffset: 0;
}
.checkbox-wrapper-31 input[type=checkbox]:checked + svg .check
{
stroke-dashoffset: 0;
}
HTML
<div class="checkbox-wrapper-32">
<input type="checkbox" name="checkbox-32" id="checkbox-32">
<label for="checkbox-32">
Checkbox
</label>
<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg">
<path d="M 10 10 L 90 90" stroke="#000" stroke-dasharray="113" stroke-dashoffset="113"></path>
<path d="M 90 10 L 10 90" stroke="#000" stroke-dasharray="113" stroke-dashoffset="113"></path>
</svg>
</div>
CSS
.checkbox-wrapper-32
{
--size: 20px;
--border-size: 2px;
position: relative;
}
.checkbox-wrapper-32 *,
.checkbox-wrapper-32 *::after,
.checkbox-wrapper-32 *::before
{
box-sizing: border-box;
}
.checkbox-wrapper-32 input[type="checkbox"]
{
display: inline-block;
vertical-align: middle;
opacity: 0;
}
.checkbox-wrapper-32 input[type="checkbox"],
.checkbox-wrapper-32 label::before
{
width: var(--size);
height: var(--size);
position: absolute;
left: 0;
top: 50%;
transform: translateY(-50%);
}
.checkbox-wrapper-32 label
{
display: inline-block;
position: relative;
padding: 0 0 0 calc(var(--size) + 7px);
}
.checkbox-wrapper-32 label::before
{
content: '';
border: var(--border-size) solid #000;
opacity: 0.7;
transition: opacity 0.3s;
}
.checkbox-wrapper-32 input[type="checkbox"]:checked + label::before
{
opacity: 1;
}
.checkbox-wrapper-32 svg
{
position: absolute;
top: calc(50% + var(--border-size));
left: var(--border-size);
width: calc(var(--size) - (var(--border-size) * 2));
height: calc(var(--size) - (var(--border-size) * 2));
margin-top: calc(var(--size) / -2);
pointer-events: none;
}
.checkbox-wrapper-32 svg path
{
stroke-width: 0;
fill: none;
transition: stroke-dashoffset 0.2s ease-in 0s;
}
.checkbox-wrapper-32 svg path + path
{
transition: stroke-dashoffset 0.2s ease-out 0.2s;
}
.checkbox-wrapper-32 input[type="checkbox"]:checked ~ svg path
{
stroke-dashoffset: 0;
stroke-width: calc(var(--size) / 2);
}
HTML
<div class="checkbox-wrapper-33">
<label class="checkbox">
<input class="checkbox__trigger visuallyhidden" type="checkbox" />
<span class="checkbox__symbol">
<svg aria-hidden="true" class="icon-checkbox" width="28px" height="28px" viewBox="0 0 28 28" version="1" xmlns="http://www.w3.org/2000/svg">
<path d="M4 14l8 7L24 7"></path>
</svg>
</span>
<p class="checkbox__textwrapper">Checkbox</p>
</label>
</div>
CSS
.checkbox-wrapper-33
{
--s-xsmall: 0.625em;
--s-small: 1.2em;
--border-width: 1px;
--c-primary: #5F11E8;
--c-primary-20-percent-opacity: rgb(95 17 232 / 20%);
--c-primary-10-percent-opacity: rgb(95 17 232 / 10%);
--t-base: 0.4s;
--t-fast: 0.2s;
--e-in: ease-in;
--e-out: cubic-bezier(.11,.29,.18,.98);
}
.checkbox-wrapper-33 .visuallyhidden
{
border: 0;
clip: rect(0 0 0 0);
height: 1px;
margin: -1px;
overflow: hidden;
padding: 0;
position: absolute;
width: 1px;
}
.checkbox-wrapper-33 .checkbox
{
display: flex;
align-items: center;
justify-content: flex-start;
}
.checkbox-wrapper-33 .checkbox + .checkbox
{
margin-top: var(--s-small);
}
.checkbox-wrapper-33 .checkbox__symbol
{
display: inline-block;
display: flex;
margin-right: calc(var(--s-small) * 0.7);
border: var(--border-width) solid var(--c-primary);
position: relative;
border-radius: 0.1em;
width: 1.5em;
height: 1.5em;
transition: box-shadow var(--t-base) var(--e-out), background-color var(--t-base);
box-shadow: 0 0 0 0 var(--c-primary-10-percent-opacity);
}
.checkbox-wrapper-33 .checkbox__symbol:after
{
content: "";
position: absolute;
top: 0.5em;
left: 0.5em;
width: 0.25em;
height: 0.25em;
background-color: var(--c-primary-20-percent-opacity);
opacity: 0;
border-radius: 3em;
transform: scale(1);
transform-origin: 50% 50%;
}
.checkbox-wrapper-33 .checkbox .icon-checkbox
{
width: 1em;
height: 1em;
margin: auto;
fill: none;
stroke-width: 3;
stroke: currentColor;
stroke-linecap: round;
stroke-linejoin: round;
stroke-miterlimit: 10;
color: var(--c-primary);
display: inline-block;
}
.checkbox-wrapper-33 .checkbox .icon-checkbox path
{
transition: stroke-dashoffset var(--t-fast) var(--e-in);
stroke-dasharray: 30px, 31px;
stroke-dashoffset: 31px;
}
.checkbox-wrapper-33 .checkbox__textwrapper
{
margin: 0;
}
.checkbox-wrapper-33 .checkbox__trigger:checked + .checkbox__symbol:after
{
-webkit-animation: ripple-33 1.5s var(--e-out);
animation: ripple-33 1.5s var(--e-out);
}
.checkbox-wrapper-33 .checkbox__trigger:checked + .checkbox__symbol .icon-checkbox path
{
transition: stroke-dashoffset var(--t-base) var(--e-out);
stroke-dashoffset: 0px;
}
.checkbox-wrapper-33 .checkbox__trigger:focus + .checkbox__symbol
{
box-shadow: 0 0 0 0.25em var(--c-primary-20-percent-opacity);
}
@-webkit-keyframes ripple-33
{
from
{
transform: scale(0);
opacity: 1;
}
to
{
opacity: 0;
transform: scale(20);
}
}
@keyframes ripple-33
{
from
{
transform: scale(0);
opacity: 1;
}
to
{
opacity: 0;
transform: scale(20);
}
}
HTML
<div class="checkbox-wrapper-34">
<input class='tgl tgl-ios' id='toggle-34' type='checkbox'>
<label class='tgl-btn' for='toggle-34'></label>
</div>
CSS
.checkbox-wrapper-34
{
--blue: #0D7EFF;
--g08: #E1E5EB;
--g04: #848ea1;
}
.checkbox-wrapper-34 .tgl
{
display: none;
}
.checkbox-wrapper-34 .tgl,
.checkbox-wrapper-34 .tgl:after,
.checkbox-wrapper-34 .tgl:before,
.checkbox-wrapper-34 .tgl *,
.checkbox-wrapper-34 .tgl *:after,
.checkbox-wrapper-34 .tgl *:before,
.checkbox-wrapper-34 .tgl + .tgl-btn
{
box-sizing: border-box;
}
.checkbox-wrapper-34 .tgl::selection,
.checkbox-wrapper-34 .tgl:after::selection,
.checkbox-wrapper-34 .tgl:before::selection,
.checkbox-wrapper-34 .tgl *::selection,
.checkbox-wrapper-34 .tgl *:after::selection,
.checkbox-wrapper-34 .tgl *:before::selection,
.checkbox-wrapper-34 .tgl + .tgl-btn::selection
{
background: none;
}
.checkbox-wrapper-34 .tgl + .tgl-btn
{
outline: 0;
display: block;
width: 57px;
height: 27px;
position: relative;
cursor: pointer;
user-select: none;
font-size: 12px;
font-weight: 400;
color: #fff;
}
.checkbox-wrapper-34 .tgl + .tgl-btn:after,
.checkbox-wrapper-34 .tgl + .tgl-btn:before
{
position: relative;
display: block;
content: "";
width: 44%;
height: 100%;
}
.checkbox-wrapper-34 .tgl + .tgl-btn:after
{
left: 0;
}
.checkbox-wrapper-34 .tgl + .tgl-btn:before
{
display: inline;
position: absolute;
top: 7px;
}
.checkbox-wrapper-34 .tgl:checked + .tgl-btn:after
{
left: 56.5%;
}
.checkbox-wrapper-34 .tgl-ios + .tgl-btn
{
background: var(--g08);
border-radius: 20rem;
padding: 2px;
transition: all 0.4s ease;
box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);
}
.checkbox-wrapper-34 .tgl-ios + .tgl-btn:after
{
border-radius: 2em;
background: #fff;
transition: left 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), padding 0.3s ease, margin 0.3s ease;
box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.2);
}
.checkbox-wrapper-34 .tgl-ios + .tgl-btn:before
{
content: "No";
left: 28px;
color: var(--g04);
transition: left 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.checkbox-wrapper-34 .tgl-ios + .tgl-btn:active
{
box-shadow: inset 0 0 0 30px rgba(0, 0, 0, 0.1);
}
.checkbox-wrapper-34 .tgl-ios + .tgl-btn:active:after
{
padding-right: 0.4em;
}
.checkbox-wrapper-34 .tgl-ios:checked + .tgl-btn
{
background: var(--blue);
}
.checkbox-wrapper-34 .tgl-ios:checked + .tgl-btn:active
{
box-shadow: inset 0 0 0 30px rgba(0, 0, 0, 0.1);
}
.checkbox-wrapper-34 .tgl-ios:checked + .tgl-btn:active:after
{
margin-left: -0.4em;
}
.checkbox-wrapper-34 .tgl-ios:checked + .tgl-btn:before
{
content: "Yes";
left: 4px;
color: #fff;
}
HTML
<div class="checkbox-wrapper-35">
<input class="switch" type="checkbox" id="switch" name="switch" value="private">
<label for="switch">
<span class="switch-x-text">This is </span>
<span class="switch-x-toggletext">
<span class="switch-x-unchecked"><span class="switch-x-hiddenlabel">Unchecked: </span>Off</span>
<span class="switch-x-checked"><span class="switch-x-hiddenlabel">Checked: </span>On</span>
</span>
</label>
</div>
CSS
.checkbox-wrapper-35 .switch
{
display: none;
}
.checkbox-wrapper-35 .switch + label
{
-webkit-box-align: center;
-webkit-align-items: center;
-ms-flex-align: center;
align-items: center;
color: #78768d;
cursor: pointer;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
font-size: 12px;
line-height: 15px;
position: relative;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.checkbox-wrapper-35 .switch + label::before,
.checkbox-wrapper-35 .switch + label::after
{
content: '';
display: block;
}
.checkbox-wrapper-35 .switch + label::before
{
background-color: #05012c;
border-radius: 500px;
height: 15px;
margin-right: 8px;
-webkit-transition: background-color 0.125s ease-out;
transition: background-color 0.125s ease-out;
width: 25px;
}
.checkbox-wrapper-35 .switch + label::after
{
background-color: #fff;
border-radius: 13px;
box-shadow: 0 3px 1px 0 rgba(37, 34, 71, 0.05), 0 2px 2px 0 rgba(37, 34, 71, 0.1), 0 3px 3px 0 rgba(37, 34, 71, 0.05);
height: 13px;
left: 1px;
position: absolute;
top: 1px;
-webkit-transition: -webkit-transform 0.125s ease-out;
transition: -webkit-transform 0.125s ease-out;
transition: transform 0.125s ease-out;
transition: transform 0.125s ease-out, -webkit-transform 0.125s ease-out;
width: 13px;
}
.checkbox-wrapper-35 .switch + label .switch-x-text
{
display: block;
margin-right: .3em;
}
.checkbox-wrapper-35 .switch + label .switch-x-toggletext
{
display: block;
font-weight: bold;
height: 15px;
overflow: hidden;
position: relative;
width: 25px;
}
.checkbox-wrapper-35 .switch + label .switch-x-unchecked,
.checkbox-wrapper-35 .switch + label .switch-x-checked
{
left: 0;
position: absolute;
top: 0;
-webkit-transition: opacity 0.125s ease-out, -webkit-transform 0.125s ease-out;
transition: opacity 0.125s ease-out, -webkit-transform 0.125s ease-out;
transition: transform 0.125s ease-out, opacity 0.125s ease-out;
transition: transform 0.125s ease-out, opacity 0.125s ease-out, -webkit-transform 0.125s ease-out;
}
.checkbox-wrapper-35 .switch + label .switch-x-unchecked
{
opacity: 1;
-webkit-transform: none;
transform: none;
}
.checkbox-wrapper-35 .switch + label .switch-x-checked
{
opacity: 0;
-webkit-transform: translate3d(0, 100%, 0);
transform: translate3d(0, 100%, 0);
}
.checkbox-wrapper-35 .switch + label .switch-x-hiddenlabel
{
position: absolute;
visibility: hidden;
}
.checkbox-wrapper-35 .switch:checked + label::before
{
background-color: #ffb500;
}
.checkbox-wrapper-35 .switch:checked + label::after
{
-webkit-transform: translate3d(10px, 0, 0);
transform: translate3d(10px, 0, 0);
}
.checkbox-wrapper-35 .switch:checked + label .switch-x-unchecked
{
opacity: 0;
-webkit-transform: translate3d(0, -100%, 0);
transform: translate3d(0, -100%, 0);
}
.checkbox-wrapper-35 .switch:checked + label .switch-x-checked
{
opacity: 1;
-webkit-transform: none;
transform: none;
}
HTML
<div class="checkbox-wrapper-36">
<input id="toggle-36" type="checkbox">
<label for="toggle-36"></label>
</div>
CSS
.checkbox-wrapper-36 *,
.checkbox-wrapper-36 *::before,
.checkbox-wrapper-36 *::after
{
box-sizing: border-box;
}
.checkbox-wrapper-36 label
{
background: white;
border-radius: 12px;
box-shadow: 0px 50px 20px 0 rgba(0,0,0,0.1);
display: flex;
height: 50px;
padding: 8px;
position: relative;
transition: transform 300ms ease, box-shadow 300ms ease;
width: 116px;
}
.checkbox-wrapper-36 input
{
display: none;
}
.checkbox-wrapper-36 label:after
{
animation: move-left-36 400ms;
background: #E2E2E2 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='27' height='27' viewBox='0 0 24 24'%3E%3Cpath stroke='#E2E2E2' fill='#E2E2E2' stroke-linecap='round' d='M20.285 2l-11.285 11.567-5.286-5.011-3.714 3.716 9 8.728 15-15.285z'/%3E%3C/svg%3E") no-repeat center;
border-radius: 12px;
content: '';
left: 8px;
outline: none;
position: absolute;
transition: background 100ms linear;
width: 36px;
height: 36px;
left: 8px;
top: 7px;
}
.checkbox-wrapper-36 label:active
{
box-shadow: 0px 10px 20px 0 rgba(0,0,0,0.2);
transform: scale(1.15);
}
.checkbox-wrapper-36 input:checked + label:after
{
animation: move-right-36 400ms;
background: #6EB54E url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='27' height='27' viewBox='0 0 24 24'%3E%3Cpath stroke='white' fill='white' stroke-linecap='round' d='M20.285 2l-11.285 11.567-5.286-5.011-3.714 3.716 9 8.728 15-15.285z'/%3E%3C/svg%3E") no-repeat center;
left: 72px;
}
@keyframes move-right-36
{
0%
{
left: 8px;
}
75%
{
left: 78px;
}
100%
{
left: 72px;
}
}
@keyframes move-left-36
{
0%
{
left: 72px;
}
75%
{
left: 2px;
}
100%
{
left: 8px;
}
}
HTML
<div class="checkbox-wrapper-37">
<input type="checkbox" name="checkbox" id="terms-checkbox-37" />
<label for="terms-checkbox-37" class="terms-label">
<svg
class="checkbox-svg"
viewBox="0 0 200 200"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<mask id="path-1-inside-1_476_5-37" fill="white">
<rect width="200" height="200" />
</mask>
<rect
width="200"
height="200"
class="checkbox-box"
stroke-width="40"
mask="url(#path-1-inside-1_476_5-37)"
/>
<path
class="checkbox-tick"
d="M52 111.018L76.9867 136L149 64"
stroke-width="15"
/>
</svg>
<span class="label-text">Checkbox</span>
</label>
</div>
CSS
.checkbox-wrapper-37 input[type="checkbox"]
{
display: none;
}
.checkbox-wrapper-37 .terms-label
{
cursor: pointer;
display: flex;
align-items: center;
}
.checkbox-wrapper-37 .terms-label .label-text
{
margin-left: 10px;
}
.checkbox-wrapper-37 .checkbox-svg
{
width: 30px;
height: 30px;
}
.checkbox-wrapper-37 .checkbox-box
{
fill: #f0f0f0;
stroke: #ff7a00;
stroke-dasharray: 800;
stroke-dashoffset: 800;
transition: stroke-dashoffset 0.6s ease-in;
}
.checkbox-wrapper-37 .checkbox-tick
{
stroke: #ff7a00;
stroke-dasharray: 172;
stroke-dashoffset: 172;
transition: stroke-dashoffset 0.6s ease-in;
}
.checkbox-wrapper-37 input[type="checkbox"]:checked + .terms-label .checkbox-box,
.checkbox-wrapper-37 input[type="checkbox"]:checked + .terms-label .checkbox-tick
{
stroke-dashoffset: 0;
}
HTML
<div class="checkbox-wrapper-38">
<input class="toggle-input" id="slider-38" type="checkbox"></input>
<label class="toggle-label" for="slider-38"></label>
</div>
CSS
.checkbox-wrapper-38
{
--toggleWidth: 60px;
--toggleHeight: 25px;
--switchSize: 25px;
--dotSize: 6px;
width: var(--toggleWidth);
height: var(--toggleHeight);
position: relative;
}
.checkbox-wrapper-38 .toggle-label
{
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
text-indent: -9999px;
border: 1px solid #cd2d27;
background-color: #ed352d;
background-image: -webkit-linear-gradient(bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 100%);
background-image: linear-gradient(to top, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 100%);
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
border-radius: 3px;
z-index: 5;
-webkit-transition: background-color 0.2s, border-color 0.2s;
}
.checkbox-wrapper-38 .toggle-label:after
{
content: "";
display: block;
position: absolute;
top: -1px;
left: -1px;
width: var(--switchSize);
height: var(--switchSize);
border: 1px solid rgba(0, 0, 0, 0.3);
background-color: #fff;
border-radius: 3px;
background-image: -webkit-linear-gradient(bottom, rgba(230, 233, 239, 0.31) 0%, rgba(255, 255, 255, 0.31) 100%);
background-image: linear-gradient(to top, rgba(230, 233, 239, 0.31) 0%, rgba(255, 255, 255, 0.31) 100%);
-webkit-transition: left 0.2s;
}
.checkbox-wrapper-38 .toggle-label:before
{
content: "";
display: block;
position: absolute;
top: calc((var(--switchSize)/2) - 4px);
left: calc((var(--switchSize)/2) - 4px);
width: var(--dotSize);
height: var(--dotSize);
border-radius: 50%;
border: 1px solid rgba(0, 0, 0, 0.25);
background: #d4d6db;
box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05);
z-index: 10;
-webkit-transition: left 0.2s;
}
.checkbox-wrapper-38 .toggle-input
{
margin-left: 10px;
margin-top: 5px;
}
.checkbox-wrapper-38 .toggle-input:checked + .toggle-label
{
border: 1px solid #2c8512;
text-align: left;
background-color: #29a105;
}
.checkbox-wrapper-38 .toggle-input:checked + .toggle-label:after
{
left: calc(var(--toggleWidth) - var(--switchSize));
}
.checkbox-wrapper-38 .toggle-input:checked + .toggle-label:before
{
left: calc(var(--toggleWidth) - var(--switchSize) + 10px);
}
HTML
<div class="checkbox-wrapper-39">
<label>
<input type="checkbox"/>
<span class="checkbox"></span>
</label>
</div>
CSS
.checkbox-wrapper-39 *,
.checkbox-wrapper-39 *::before,
.checkbox-wrapper-39 *::after
{
box-sizing: border-box;
}
.checkbox-wrapper-39 label
{
display: block;
width: 35px;
height: 35px;
cursor: pointer;
}
.checkbox-wrapper-39 input
{
visibility: hidden;
display: none;
}
.checkbox-wrapper-39 input:checked ~ .checkbox
{
transform: rotate(45deg);
width: 14px;
margin-left: 12px;
border-color: #24c78e;
border-top-color: transparent;
border-left-color: transparent;
border-radius: 0;
}
.checkbox-wrapper-39 .checkbox
{
display: block;
width: inherit;
height: inherit;
border: 3px solid #434343;
border-radius: 6px;
transition: all 0.375s;
}
HTML
<div class="checkbox-wrapper-40">
<label>
<input type="checkbox"/>
<span class="checkbox"></span>
</label>
</div>
CSS
.checkbox-wrapper-40
{
--borderColor: #48c;
--borderWidth: .125em;
}
.checkbox-wrapper-40 label
{
display: block;
max-width: 100%;
margin: 0 auto;
}
.checkbox-wrapper-40 input[type=checkbox]
{
-webkit-appearance: none;
appearance: none;
vertical-align: middle;
background: #fff;
font-size: 1.8em;
border-radius: 0.125em;
display: inline-block;
border: var(--borderWidth) solid var(--borderColor);
width: 1em;
height: 1em;
position: relative;
}
.checkbox-wrapper-40 input[type=checkbox]:before,
.checkbox-wrapper-40 input[type=checkbox]:after
{
content: "";
position: absolute;
background: var(--borderColor);
width: calc(var(--borderWidth) * 3);
height: var(--borderWidth);
top: 50%;
left: 10%;
transform-origin: left center;
}
.checkbox-wrapper-40 input[type=checkbox]:before
{
transform: rotate(45deg) translate(calc(var(--borderWidth) / -2), calc(var(--borderWidth) / -2)) scaleX(0);
transition: transform 200ms ease-in 200ms;
}
.checkbox-wrapper-40 input[type=checkbox]:after
{
width: calc(var(--borderWidth) * 5);
transform: rotate(-45deg) translateY(calc(var(--borderWidth) * 2)) scaleX(0);
transform-origin: left center;
transition: transform 200ms ease-in;
}
.checkbox-wrapper-40 input[type=checkbox]:checked:before
{
transform: rotate(45deg) translate(calc(var(--borderWidth) / -2), calc(var(--borderWidth) / -2)) scaleX(1);
transition: transform 200ms ease-in;
}
.checkbox-wrapper-40 input[type=checkbox]:checked:after
{
width: calc(var(--borderWidth) * 5);
transform: rotate(-45deg) translateY(calc(var(--borderWidth) * 2)) scaleX(1);
transition: transform 200ms ease-out 200ms;
}
.checkbox-wrapper-40 input[type=checkbox]:focus
{
outline: calc(var(--borderWidth) / 2) dotted rgba(0, 0, 0, 0.25);
}
HTML
<div class="checkbox-wrapper-41">
<input type="checkbox">
</div>
CSS
.checkbox-wrapper-41
{
--size: 100px;
}
.checkbox-wrapper-41 input[type="checkbox"]
{
-webkit-appearance: none;
width: var(--size);
height: calc(var(--size) / 2);
background-color: #fff;
border: 3px solid #222;
border-radius: 30px 100px 100px 100px;
box-shadow: 0 10px 20px rgba(0,0,0,0.2);
outline: none;
cursor: pointer;
position: relative;
transition: all 0.5s;
}
.checkbox-wrapper-41 input[type="checkbox"]::before
{
content: "";
position: absolute;
width: calc(var(--size) / 2);
height: calc(var(--size) / 2);
left: 0;
top: 50%;
transform: translateY(-50%) scale(0.7);
border: 3px solid #222;
border-radius: 30px 100px 100px 100px;
background-color: #fde881;
box-sizing: border-box;
transition: all 0.5s;
}
.checkbox-wrapper-41 input[type="checkbox"]:checked
{
background-color: #fde881;
border-radius: 100px 100px 30px 100px;
}
.checkbox-wrapper-41 input[type="checkbox"]:checked::before
{
left: 50%;
background-color: #fff;
border-radius: 100px 100px 30px 100px;
}
HTML
<div class="checkbox-wrapper-42">
<input id="cbx-42" type="checkbox" />
<label class="cbx" for="cbx-42"></label>
<label class="lbl" for="cbx-42">Magic</label>
</div>
CSS
.checkbox-wrapper-42 input[type="checkbox"]
{
display: none;
visibility: hidden;
}
.checkbox-wrapper-42 label
{
display: inline-block;
}
.checkbox-wrapper-42 .cbx
{
position: relative;
top: 1px;
width: 17px;
height: 17px;
border: 1px solid #c8ccd4;
border-radius: 3px;
vertical-align: middle;
transition: background 0.1s ease;
cursor: pointer;
}
.checkbox-wrapper-42 .cbx:after
{
content: '';
position: absolute;
top: 1px;
left: 5px;
width: 5px;
height: 11px;
opacity: 0;
transform: rotate(45deg) scale(0);
border-right: 2px solid #fff;
border-bottom: 2px solid #fff;
transition: all 0.3s ease;
transition-delay: 0.15s;
}
.checkbox-wrapper-42 .lbl
{
margin-left: 5px;
vertical-align: middle;
cursor: pointer;
}
.checkbox-wrapper-42 input[type="checkbox"]:checked ~ .cbx
{
border-color: transparent;
background: #6871f1;
animation: jelly-42 0.6s ease;
}
.checkbox-wrapper-42 input[type="checkbox"]:checked ~ .cbx:after
{
opacity: 1;
transform: rotate(45deg) scale(1);
}
.checkbox-wrapper-42 .cntr
{
position: absolute;
top: 50%;
left: 0;
width: 100%;
text-align: center;
}
@-moz-keyframes jelly-42
{
from
{
transform: scale(1, 1);
}
30%
{
transform: scale(1.25, 0.75);
}
40%
{
transform: scale(0.75, 1.25);
}
50%
{
transform: scale(1.15, 0.85);
}
65%
{
transform: scale(0.95, 1.05);
}
75%
{
transform: scale(1.05, 0.95);
}
to
{
transform: scale(1, 1);
}
}
@-webkit-keyframes jelly-42
{
from
{
transform: scale(1, 1);
}
30%
{
transform: scale(1.25, 0.75);
}
40%
{
transform: scale(0.75, 1.25);
}
50%
{
transform: scale(1.15, 0.85);
}
65%
{
transform: scale(0.95, 1.05);
}
75%
{
transform: scale(1.05, 0.95);
}
to
{
transform: scale(1, 1);
}
}
@-o-keyframes jelly-42
{
from
{
transform: scale(1, 1);
}
30%
{
transform: scale(1.25, 0.75);
}
40%
{
transform: scale(0.75, 1.25);
}
50%
{
transform: scale(1.15, 0.85);
}
65%
{
transform: scale(0.95, 1.05);
}
75%
{
transform: scale(1.05, 0.95);
}
to
{
transform: scale(1, 1);
}
}
@keyframes jelly-42
{
from
{
transform: scale(1, 1);
}
30%
{
transform: scale(1.25, 0.75);
}
40%
{
transform: scale(0.75, 1.25);
}
50%
{
transform: scale(1.15, 0.85);
}
65%
{
transform: scale(0.95, 1.05);
}
75%
{
transform: scale(1.05, 0.95);
}
to
{
transform: scale(1, 1);
}
}
HTML
<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>
CSS
.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;
-webkit-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;
}
HTML
<div class="checkbox-wrapper-44">
<label class="toggleButton">
<input type="checkbox">
<div>
<svg viewBox="0 0 44 44">
<path d="M14,24 L21,31 L39.7428882,11.5937758 C35.2809627,6.53125861 30.0333333,4 24,4 C12.95,4 4,12.95 4,24 C4,35.05 12.95,44 24,44 C35.05,44 44,35.05 44,24 C44,19.3 42.5809627,15.1645919 39.7428882,11.5937758" transform="translate(-2.000000, -2.000000)"></path>
</svg>
</div>
</label>
</div>
CSS
.checkbox-wrapper-44 input[type="checkbox"]
{
display: none;
visibility: hidden;
}
.checkbox-wrapper-44 *,
.checkbox-wrapper-44 *::before,
.checkbox-wrapper-44 *::after
{
box-sizing: border-box;
}
.checkbox-wrapper-44 .toggleButton
{
cursor: pointer;
display: block;
transform-origin: 50% 50%;
transform-style: preserve-3d;
transition: transform 0.14s ease;
}
.checkbox-wrapper-44 .toggleButton:active
{
transform: rotateX(30deg);
}
.checkbox-wrapper-44 .toggleButton input + div
{
border: 3px solid rgba(0, 0, 0, 0.2);
border-radius: 50%;
position: relative;
width: 44px;
height: 44px;
}
.checkbox-wrapper-44 .toggleButton input + div svg
{
fill: none;
stroke-width: 3.6;
stroke: #000;
stroke-linecap: round;
stroke-linejoin: round;
width: 44px;
height: 44px;
display: block;
position: absolute;
left: -3px;
top: -3px;
right: -3px;
bottom: -3px;
z-index: 1;
stroke-dashoffset: 124.6;
stroke-dasharray: 0 162.6 133 29.6;
transition: all 0.4s ease 0s;
}
.checkbox-wrapper-44 .toggleButton input + div:before,
.checkbox-wrapper-44 .toggleButton input + div:after
{
content: "";
width: 3px;
height: 16px;
background: #000;
position: absolute;
left: 50%;
top: 50%;
border-radius: 5px;
}
.checkbox-wrapper-44 .toggleButton input + div:before
{
opacity: 0;
transform: scale(0.3) translate(-50%, -50%) rotate(45deg);
-webkit-animation: bounceInBefore-44 0.3s linear forwards 0.3s;
animation: bounceInBefore-44 0.3s linear forwards 0.3s;
}
.checkbox-wrapper-44 .toggleButton input + div:after
{
opacity: 0;
transform: scale(0.3) translate(-50%, -50%) rotate(-45deg);
-webkit-animation: bounceInAfter-44 0.3s linear forwards 0.3s;
animation: bounceInAfter-44 0.3s linear forwards 0.3s;
}
.checkbox-wrapper-44 .toggleButton input:checked + div svg
{
stroke-dashoffset: 162.6;
stroke-dasharray: 0 162.6 28 134.6;
transition: all 0.4s ease 0.2s;
}
.checkbox-wrapper-44 .toggleButton input:checked + div:before
{
opacity: 0;
transform: scale(0.3) translate(-50%, -50%) rotate(45deg);
-webkit-animation: bounceInBeforeDont-44 0.3s linear forwards 0s;
animation: bounceInBeforeDont-44 0.3s linear forwards 0s;
}
.checkbox-wrapper-44 .toggleButton input:checked + div:after
{
opacity: 0;
transform: scale(0.3) translate(-50%, -50%) rotate(-45deg);
-webkit-animation: bounceInAfterDont-44 0.3s linear forwards 0s;
animation: bounceInAfterDont-44 0.3s linear forwards 0s;
}
@-webkit-keyframes bounceInBefore-44
{
0%
{
opacity: 0;
transform: scale(0.3) translate(-50%, -50%) rotate(45deg);
}
50%
{
opacity: 0.9;
transform: scale(1.1) translate(-50%, -50%) rotate(45deg);
}
80%
{
opacity: 1;
transform: scale(0.89) translate(-50%, -50%) rotate(45deg);
}
100%
{
opacity: 1;
transform: scale(1) translate(-50%, -50%) rotate(45deg);
}
}
@keyframes bounceInBefore-44
{
0%
{
opacity: 0;
transform: scale(0.3) translate(-50%, -50%) rotate(45deg);
}
50%
{
opacity: 0.9;
transform: scale(1.1) translate(-50%, -50%) rotate(45deg);
}
80%
{
opacity: 1;
transform: scale(0.89) translate(-50%, -50%) rotate(45deg);
}
100%
{
opacity: 1;
transform: scale(1) translate(-50%, -50%) rotate(45deg);
}
}
@-webkit-keyframes bounceInAfter-44
{
0%
{
opacity: 0;
transform: scale(0.3) translate(-50%, -50%) rotate(-45deg);
}
50%
{
opacity: 0.9;
transform: scale(1.1) translate(-50%, -50%) rotate(-45deg);
}
80%
{
opacity: 1;
transform: scale(0.89) translate(-50%, -50%) rotate(-45deg);
}
100%
{
opacity: 1;
transform: scale(1) translate(-50%, -50%) rotate(-45deg);
}
}
@keyframes bounceInAfter-44
{
0%
{
opacity: 0;
transform: scale(0.3) translate(-50%, -50%) rotate(-45deg);
}
50%
{
opacity: 0.9;
transform: scale(1.1) translate(-50%, -50%) rotate(-45deg);
}
80%
{
opacity: 1;
transform: scale(0.89) translate(-50%, -50%) rotate(-45deg);
}
100%
{
opacity: 1;
transform: scale(1) translate(-50%, -50%) rotate(-45deg);
}
}
@-webkit-keyframes bounceInBeforeDont-44
{
0%
{
opacity: 1;
transform: scale(1) translate(-50%, -50%) rotate(45deg);
}
100%
{
opacity: 0;
transform: scale(0.3) translate(-50%, -50%) rotate(45deg);
}
}
@keyframes bounceInBeforeDont-44
{
0%
{
opacity: 1;
transform: scale(1) translate(-50%, -50%) rotate(45deg);
}
100%
{
opacity: 0;
transform: scale(0.3) translate(-50%, -50%) rotate(45deg);
}
}
@-webkit-keyframes bounceInAfterDont-44
{
0%
{
opacity: 1;
transform: scale(1) translate(-50%, -50%) rotate(-45deg);
}
100%
{
opacity: 0;
transform: scale(0.3) translate(-50%, -50%) rotate(-45deg);
}
}
@keyframes bounceInAfterDont-44
{
0%
{
opacity: 1;
transform: scale(1) translate(-50%, -50%) rotate(-45deg);
}
100%
{
opacity: 0;
transform: scale(0.3) translate(-50%, -50%) rotate(-45deg);
}
}
HTML
<div class="checkbox-wrapper-45">
<input id="cbx-45" type="checkbox"/>
<label class="cbx" for="cbx-45">
<div class="flip">
<div class="front"></div>
<div class="back">
<svg width="16" height="14" viewBox="0 0 16 14">
<path d="M2 8.5L6 12.5L14 1.5"></path>
</svg>
</div>
</div>
</label>
</div>
CSS
.checkbox-wrapper-45
{
position: relative;
}
.checkbox-wrapper-45 input[type="checkbox"]
{
display: none;
visibility: hidden;
}
.checkbox-wrapper-45 .cbx
{
-webkit-perspective: 20;
perspective: 20;
display: inline-block;
border: 2px solid #e8e8eb;
background: #e8e8eb;
border-radius: 4px;
transform: translate3d(0, 0, 0);
cursor: pointer;
transition: all 0.3s ease;
}
.checkbox-wrapper-45 .cbx:hover
{
border-color: #0b76ef;
}
.checkbox-wrapper-45 .flip
{
display: block;
transition: all 0.4s ease;
transform-style: preserve-3d;
position: relative;
width: 20px;
height: 20px;
}
.checkbox-wrapper-45 input[type="checkbox"]:checked + .cbx
{
border-color: #0b76ef;
}
.checkbox-wrapper-45 input[type="checkbox"]:checked + .cbx .flip
{
transform: rotateY(180deg);
}
.checkbox-wrapper-45 .front,
.checkbox-wrapper-45 .back
{
backface-visibility: hidden;
position: absolute;
top: 0;
left: 0;
width: 20px;
height: 20px;
border-radius: 2px;
}
.checkbox-wrapper-45 .front
{
background: #fff;
z-index: 1;
}
.checkbox-wrapper-45 .back
{
transform: rotateY(180deg);
background: #0b76ef;
text-align: center;
color: #fff;
line-height: 20px;
box-shadow: 0 0 0 1px #0b76ef;
}
.checkbox-wrapper-45 .back svg
{
margin-top: 3px;
fill: none;
}
.checkbox-wrapper-45 .back svg path
{
stroke: #fff;
stroke-width: 2.5;
stroke-linecap: round;
stroke-linejoin: round;
}
HTML
<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>
CSS
.checkbox-wrapper-46 input[type="checkbox"]
{
display: none;
visibility: hidden;
}
.checkbox-wrapper-46 .cbx
{
margin: auto;
-webkit-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);
}
}
HTML
<div class="checkbox-wrapper-47">
<input type="checkbox" name="cb" id="cb-47" />
<label for="cb-47">Check this</label>
</div>
CSS
.checkbox-wrapper-47 input[type="checkbox"]
{
display: none;
visibility: hidden;
}
.checkbox-wrapper-47 label
{
position: relative;
padding-left: 2em;
padding-right: 1em;
line-height: 2;
cursor: pointer;
display: inline-flex;
z-index: 1;
}
.checkbox-wrapper-47 label:before
{
box-sizing: border-box;
content: " ";
position: absolute;
top: 0.3em;
left: 0;
display: block;
width: 1.4em;
height: 1.4em;
border: 2px solid #9098A9;
border-radius: 6px;
z-index: -1;
}
.checkbox-wrapper-47 input[type=checkbox]:checked + label
{
padding-left: 1em;
color: #0f5229;
}
.checkbox-wrapper-47 input[type=checkbox]:checked + label:before
{
top: 0;
width: 100%;
height: 2em;
background: #b7e6c9;
border-color: #2cbc63;
}
.checkbox-wrapper-47 label,
.checkbox-wrapper-47 label::before
{
transition: 0.25s all ease;
}
HTML
<div class="checkbox-wrapper-48">
<label><input type="checkbox" name="cb"></label>
</div>
CSS
.checkbox-wrapper-48
{
--gray: #636e72;
--very-light-gray: #eee;
--light-gray: #9098A9;
--x-light-gray: #dfe6e9;
--gradient: linear-gradient(180deg, #E02020 0%, #FA6400 17%, #F7B500 33%, #6DD400 50%, #0091FF 67%, #6236FF 83%, #B620E0 100%);
}
.checkbox-wrapper-48 label
{
font-size: 1.35em;
}
/* CORE STYLES */
.checkbox-wrapper-48 input
{
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
width: 1em;
height: 1em;
font: inherit;
border: 0.1em solid var(--light-gray);
margin-bottom: -0.125em;
}
.checkbox-wrapper-48 input[type=checkbox]
{
border-radius: 0.25em;
}
.checkbox-wrapper-48 input:checked
{
border-color: transparent;
background: var(--gradient) border-box;
box-shadow: 0 0 0 0.1em inset #fff;
}
.checkbox-wrapper-48 input:not(:checked):hover
{
border-color: transparent;
background: linear-gradient(#fff, #fff) padding-box, var(--gradient) border-box;
}
HTML
<div class="checkbox-wrapper-49">
<div class="block">
<input data-index="0" id="cheap-49" type="checkbox" />
<label for="cheap-49"></label>
</div>
</div>
CSS
.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;
}
HTML
<div class="checkbox-wrapper-50">
<input type="checkbox" class="plus-minus">
</div>
CSS
.checkbox-wrapper-50 *,
.checkbox-wrapper-50 *::before,
.checkbox-wrapper-50 *::after
{
box-sizing: border-box;
}
.checkbox-wrapper-50 .plus-minus
{
--primary: #1E2235;
--secondary: #FAFBFF;
--duration: .5s;
-webkit-appearance: none;
-moz-appearance: none;
-webkit-tap-highlight-color: transparent;
-webkit-mask-image: -webkit-radial-gradient(white, black);
outline: none;
cursor: pointer;
position: relative;
overflow: hidden;
transform-style: preserve-3d;
perspective: 240px;
border-radius: 50%;
width: 36px;
height: 36px;
border: 4px solid var(--primary);
background-size: 300% 300%;
transition: transform 0.3s;
transform: scale(var(--scale, 1)) translateZ(0);
-webkit-animation: var(--name, unchecked-50) var(--duration) ease forwards;
animation: var(--name, unchecked-50) var(--duration) ease forwards;
margin: 0;
}
.checkbox-wrapper-50 .plus-minus::before,
.checkbox-wrapper-50 .plus-minus::after
{
content: "";
position: absolute;
width: 16px;
height: var(--height, 16px);
left: 6px;
top: var(--top, 6px);
background: var(--background, var(--primary));
-webkit-animation: var(--name-icon-b, var(--name-icon, unchecked-icon-50)) var(--duration) ease forwards;
animation: var(--name-icon-b, var(--name-icon, unchecked-icon-50)) var(--duration) ease forwards;
}
.checkbox-wrapper-50 .plus-minus::before
{
-webkit-clip-path: polygon(0 6px, 6px 6px, 6px 0, 10px 0, 10px 6px, 16px 6px, 16px 10px, 10px 10px, 10px 16px, 6px 16px, 6px 10px, 0 10px);
clip-path: polygon(0 6px, 6px 6px, 6px 0, 10px 0, 10px 6px, 16px 6px, 16px 10px, 10px 10px, 10px 16px, 6px 16px, 6px 10px, 0 10px);
}
.checkbox-wrapper-50 .plus-minus::after
{
--height: 4px;
--top: 12px;
--background: var(--secondary);
--name-icon-b: var(--name-icon-a, checked-icon-50);
}
.checkbox-wrapper-50 .plus-minus:active
{
--scale: .95;
}
.checkbox-wrapper-50 .plus-minus:checked
{
--name: checked-50;
--name-icon-b: checked-icon-50;
--name-icon-a: unchecked-icon-50;
}
@-webkit-keyframes checked-icon-50
{
from
{
transform: translateZ(12px);
}
to
{
transform: translateX(16px) rotateY(90deg) translateZ(12px);
}
}
@keyframes checked-icon-50
{
from
{
transform: translateZ(12px);
}
to
{
transform: translateX(16px) rotateY(90deg) translateZ(12px);
}
}
@-webkit-keyframes unchecked-icon-50
{
from
{
transform: translateX(-16px) rotateY(-90deg) translateZ(12px);
}
to
{
transform: translateZ(12px);
}
}
@keyframes unchecked-icon-50
{
from
{
transform: translateX(-16px) rotateY(-90deg) translateZ(12px);
}
to
{
transform: translateZ(12px);
}
}
@-webkit-keyframes checked-50
{
from
{
background-image: radial-gradient(ellipse at center, var(--primary) 0%, var(--primary) 25%, var(--secondary) 25.1%, var(--secondary) 100%);
background-position: 100% 50%;
}
to
{
background-image: radial-gradient(ellipse at center, var(--primary) 0%, var(--primary) 25%, var(--secondary) 25.1%, var(--secondary) 100%);
background-position: 50% 50%;
}
}
@keyframes checked-50
{
from
{
background-image: radial-gradient(ellipse at center, var(--primary) 0%, var(--primary) 25%, var(--secondary) 25.1%, var(--secondary) 100%);
background-position: 100% 50%;
}
to
{
background-image: radial-gradient(ellipse at center, var(--primary) 0%, var(--primary) 25%, var(--secondary) 25.1%, var(--secondary) 100%);
background-position: 50% 50%;
}
}
@-webkit-keyframes unchecked-50
{
from
{
background-image: radial-gradient(ellipse at center, var(--secondary) 0%, var(--secondary) 25%, var(--primary) 25.1%, var(--primary) 100%);
background-position: 100% 50%;
}
to
{
background-image: radial-gradient(ellipse at center, var(--secondary) 0%, var(--secondary) 25%, var(--primary) 25.1%, var(--primary) 100%);
background-position: 50% 50%;
}
}
@keyframes unchecked-50
{
from
{
background-image: radial-gradient(ellipse at center, var(--secondary) 0%, var(--secondary) 25%, var(--primary) 25.1%, var(--primary) 100%);
background-position: 100% 50%;
}
to
{
background-image: radial-gradient(ellipse at center, var(--secondary) 0%, var(--secondary) 25%, var(--primary) 25.1%, var(--primary) 100%);
background-position: 50% 50%;
}
}
HTML
<div class="checkbox-wrapper-51">
<input type="checkbox" id="cbx-51" />
<label for="cbx-51" class="toggle">
<span>
<svg width="10px" height="10px" viewBox="0 0 10 10">
<path d="M5,1 L5,1 C2.790861,1 1,2.790861 1,5 L1,5 C1,7.209139 2.790861,9 5,9 L5,9 C7.209139,9 9,7.209139 9,5 L9,5 C9,2.790861 7.209139,1 5,1 L5,9 L5,1 Z"></path>
</svg>
</span>
</label>
</div>
CSS
.checkbox-wrapper-51 input[type="checkbox"]
{
visibility: hidden;
display: none;
}
.checkbox-wrapper-51 .toggle
{
position: relative;
display: block;
width: 42px;
height: 24px;
cursor: pointer;
-webkit-tap-highlight-color: transparent;
transform: translate3d(0, 0, 0);
}
.checkbox-wrapper-51 .toggle:before
{
content: "";
position: relative;
top: 1px;
left: 1px;
width: 40px;
height: 22px;
display: block;
background: #c8ccd4;
border-radius: 12px;
transition: background 0.2s ease;
}
.checkbox-wrapper-51 .toggle span
{
position: absolute;
top: 0;
left: 0;
width: 24px;
height: 24px;
display: block;
background: #fff;
border-radius: 50%;
box-shadow: 0 2px 6px rgba(154,153,153,0.75);
transition: all 0.2s ease;
}
.checkbox-wrapper-51 .toggle span svg
{
margin: 7px;
fill: none;
}
.checkbox-wrapper-51 .toggle span svg path
{
stroke: #c8ccd4;
stroke-width: 2;
stroke-linecap: round;
stroke-linejoin: round;
stroke-dasharray: 24;
stroke-dashoffset: 0;
transition: all 0.5s linear;
}
.checkbox-wrapper-51 input[type="checkbox"]:checked + .toggle:before
{
background: #52d66b;
}
.checkbox-wrapper-51 input[type="checkbox"]:checked + .toggle span
{
transform: translateX(18px);
}
.checkbox-wrapper-51 input[type="checkbox"]:checked + .toggle span path
{
stroke: #52d66b;
stroke-dasharray: 25;
stroke-dashoffset: 25;
}
HTML
<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>
CSS
.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;
}
HTML
<div class="checkbox-wrapper-53">
<label class="container">
<input type="checkbox">
<div class="checkmark"></div>
</label>
</div>
CSS
.checkbox-wrapper-53 input[type="checkbox"]
{
visibility: hidden;
display: none;
}
.checkbox-wrapper-53 .container
{
display: block;
position: relative;
cursor: pointer;
font-size: 20px;
user-select: none;
}
.checkbox-wrapper-53 .checkmark
{
position: relative;
top: 0;
left: 0;
height: 1.3em;
width: 1.3em;
background-color: #ccc;
border-radius: 100%;
background: #e8e8e8;
box-shadow: 3px 3px 5px #c5c5c5,
-3px -3px 5px #ffffff;
}
.checkbox-wrapper-53 .container input:checked ~ .checkmark
{
box-shadow: inset 3px 3px 5px #c5c5c5,
inset -3px -3px 5px #ffffff;
}
.checkbox-wrapper-53 .checkmark:after
{
content: "";
position: absolute;
opacity: 0;
}
.checkbox-wrapper-53 .container input:checked ~ .checkmark:after
{
opacity: 1;
}
.checkbox-wrapper-53 .container .checkmark:after
{
left: 0.45em;
top: 0.25em;
width: 0.25em;
height: 0.5em;
border: solid darkgray;
border-width: 0 0.15em 0.15em 0;
transform: rotate(45deg);
transition: all 250ms;
}
HTML
<div class="checkbox-wrapper-54">
<label class="switch">
<input type="checkbox">
<span class="slider"></span>
</label>
</div>
CSS
.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;
}
HTML
<div class="checkbox-wrapper-55">
<label class="rocker rocker-small">
<input type="checkbox">
<span class="switch-left">Yes</span>
<span class="switch-right">No</span>
</label>
</div>
CSS
.checkbox-wrapper-55 input[type="checkbox"]
{
visibility: hidden;
display: none;
}
.checkbox-wrapper-55 *,
.checkbox-wrapper-55 ::after,
.checkbox-wrapper-55 ::before
{
box-sizing: border-box;
}
.checkbox-wrapper-55 .rocker
{
display: inline-block;
position: relative;
/*
SIZE OF SWITCH
==============
All sizes are in em - therefore
changing the font-size here
will change the size of the switch.
See .rocker-small below as example.
*/
font-size: 2em;
font-weight: bold;
text-align: center;
text-transform: uppercase;
color: #888;
width: 7em;
height: 4em;
overflow: hidden;
border-bottom: 0.5em solid #eee;
}
.checkbox-wrapper-55 .rocker-small
{
font-size: 0.75em;
}
.checkbox-wrapper-55 .rocker::before
{
content: "";
position: absolute;
top: 0.5em;
left: 0;
right: 0;
bottom: 0;
background-color: #999;
border: 0.5em solid #eee;
border-bottom: 0;
}
.checkbox-wrapper-55 .switch-left,
.checkbox-wrapper-55 .switch-right
{
cursor: pointer;
position: absolute;
display: flex;
align-items: center;
justify-content: center;
height: 2.5em;
width: 3em;
transition: 0.2s;
user-select: none;
}
.checkbox-wrapper-55 .switch-left
{
height: 2.4em;
width: 2.75em;
left: 0.85em;
bottom: 0.4em;
background-color: #ddd;
transform: rotate(15deg) skewX(15deg);
}
.checkbox-wrapper-55 .switch-right
{
right: 0.5em;
bottom: 0;
background-color: #bd5757;
color: #fff;
}
.checkbox-wrapper-55 .switch-left::before,
.checkbox-wrapper-55 .switch-right::before
{
content: "";
position: absolute;
width: 0.4em;
height: 2.45em;
bottom: -0.45em;
background-color: #ccc;
transform: skewY(-65deg);
}
.checkbox-wrapper-55 .switch-left::before
{
left: -0.4em;
}
.checkbox-wrapper-55 .switch-right::before
{
right: -0.375em;
background-color: transparent;
transform: skewY(65deg);
}
.checkbox-wrapper-55 input:checked + .switch-left
{
background-color: #0084d0;
color: #fff;
bottom: 0px;
left: 0.5em;
height: 2.5em;
width: 3em;
transform: rotate(0deg) skewX(0deg);
}
.checkbox-wrapper-55 input:checked + .switch-left::before
{
background-color: transparent;
width: 3.0833em;
}
.checkbox-wrapper-55 input:checked + .switch-left + .switch-right
{
background-color: #ddd;
color: #888;
bottom: 0.4em;
right: 0.8em;
height: 2.4em;
width: 2.75em;
transform: rotate(-15deg) skewX(-15deg);
}
.checkbox-wrapper-55 input:checked + .switch-left + .switch-right::before
{
background-color: #ccc;
}
/* Keyboard Users */
.checkbox-wrapper-55 input:focus + .switch-left
{
color: #333;
}
.checkbox-wrapper-55 input:checked:focus + .switch-left
{
color: #fff;
}
.checkbox-wrapper-55 input:focus + .switch-left + .switch-right
{
color: #fff;
}
.checkbox-wrapper-55 input:checked:focus + .switch-left + .switch-right
{
color: #333;
}
HTML
<div class="checkbox-wrapper-56">
<label class="container">
<input checked="checked" type="checkbox">
<div class="checkmark"></div>
</label>
</div>
CSS
.checkbox-wrapper-56 *,
.checkbox-wrapper-56 ::after,
.checkbox-wrapper-56 ::before
{
box-sizing: border-box;
}
.checkbox-wrapper-56 .container input
{
opacity: 1;
-webkit-appearance: none;
cursor: pointer;
height: 50px;
width: 50px;
box-shadow: -10px -10px 15px rgba(255,255,255,0.5),
10px 10px 15px rgba(0,0,70,0.12);
border-radius: 50%;
border: 8px solid #ececec;
outline: none;
display: flex;
justify-content: center;
align-items: center;
transition: .5s;
}
.checkbox-wrapper-56 .container
{
display: flex;
justify-content: center;
align-items: center;
}
.checkbox-wrapper-56 .container input::after
{
transition: .5s;
font-family: monospace;
content: '';
color: #7a7a7a;
font-size: 25px;
left: 0.45em;
top: 0.25em;
width: 0.25em;
height: 0.5em;
border: solid #7a7a7a;
border-width: 0 0.15em 0.15em 0;
transform: rotate(45deg);
}
.checkbox-wrapper-56 .container input:checked
{
box-shadow: -10px -10px 15px rgba(255,255,255,0.5),
10px 10px 15px rgba(70,70,70,0.12),
inset -10px -10px 15px rgba(255,255,255,0.5),
inset 10px 10px 15px rgba(70,70,70,0.12);
transition: .5s;
}
.checkbox-wrapper-56 .container input:checked::after
{
transition: .5s;
border: solid #15e38a;
border-width: 0 0.15em 0.15em 0;
transform: rotate(45deg);
}
HTML
<div class="checkbox-wrapper-57">
<label class="container">
<input type="checkbox">
<div class="checkmark"></div>
</label>
</div>
CSS
.checkbox-wrapper-57 input[type="checkbox"]
{
visibility: hidden;
display: none;
}
.checkbox-wrapper-57 *,
.checkbox-wrapper-57 ::after,
.checkbox-wrapper-57 ::before
{
box-sizing: border-box;
}
.checkbox-wrapper-57 .container
{
display: block;
position: relative;
cursor: pointer;
font-size: 25px;
user-select: none;
}
/* Create a custom checkbox */
.checkbox-wrapper-57 .checkmark
{
position: relative;
top: 0;
left: 0;
height: 1.3em;
width: 1.3em;
background: black;
border-radius: 50px;
transition: all 0.7s;
--spread: 20px;
}
/* When the checkbox is checked, add a blue background */
.checkbox-wrapper-57 .container input:checked ~ .checkmark
{
background: black;
box-shadow: -10px -10px var(--spread) 0px #5B51D8, 0 -10px var(--spread) 0px #833AB4, 10px -10px var(--spread) 0px #E1306C, 10px 0 var(--spread) 0px #FD1D1D, 10px 10px var(--spread) 0px #F77737, 0 10px var(--spread) 0px #FCAF45, -10px 10px var(--spread) 0px #FFDC80;
}
/* Create the checkmark/indicator (hidden when not checked) */
.checkbox-wrapper-57 .checkmark::after
{
content: "";
position: absolute;
display: none;
}
/* Show the checkmark when checked */
.checkbox-wrapper-57 .container input:checked ~ .checkmark::after
{
display: block;
}
/* Style the checkmark/indicator */
.checkbox-wrapper-57 .container .checkmark::after
{
left: 0.5em;
top: 0.34em;
width: 0.25em;
height: 0.5em;
border: solid #f0f0f0;
border-width: 0 0.15em 0.15em 0;
transform: rotate(45deg);
}
HTML
<div class="checkbox-wrapper-58">
<label class="switch">
<input type="checkbox">
<span class="slider"></span>
</label>
</div>
CSS
.checkbox-wrapper-58 input[type="checkbox"]
{
visibility: hidden;
display: none;
}
.checkbox-wrapper-58 *,
.checkbox-wrapper-58 ::after,
.checkbox-wrapper-58 ::before
{
box-sizing: border-box;
}
/* The switch - the box around the slider */
.checkbox-wrapper-58 .switch
{
/* Variables */
--switch_width: 2em;
--switch_height: 1em;
--thumb_color: #e8e8e8;
--track_color: #e8e8e8;
--track_active_color: #888;
--outline_color: #000;
font-size: 17px;
position: relative;
display: inline-block;
width: var(--switch_width);
height: var(--switch_height);
}
/* The slider */
.checkbox-wrapper-58 .slider
{
box-sizing: border-box;
border: 2px solid var(--outline_color);
position: absolute;
cursor: pointer;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: var(--track_color);
transition: .15s;
border-radius: var(--switch_height);
}
.checkbox-wrapper-58 .slider:before
{
box-sizing: border-box;
position: absolute;
content: "";
height: var(--switch_height);
width: var(--switch_height);
border: 2px solid var(--outline_color);
border-radius: 100%;
left: -2px;
bottom: -2px;
background-color: var(--thumb_color);
transform: translateY(-0.2em);
box-shadow: 0 0.2em 0 var(--outline_color);
transition: .15s;
}
.checkbox-wrapper-58 input:checked + .slider
{
background-color: var(--track_active_color);
}
.checkbox-wrapper-58 input:focus-visible + .slider
{
box-shadow: 0 0 0 2px var(--track_active_color);
}
/* Raise thumb when hovered */
.checkbox-wrapper-58 input:hover + .slider:before
{
transform: translateY(-0.3em);
box-shadow: 0 0.3em 0 var(--outline_color);
}
.checkbox-wrapper-58 input:checked + .slider:before
{
transform: translateX(calc(var(--switch_width) - var(--switch_height))) translateY(-0.2em);
}
/* Raise thumb when hovered & checked */
.checkbox-wrapper-58 input:hover:checked + .slider:before
{
transform: translateX(calc(var(--switch_width) - var(--switch_height))) translateY(-0.3em);
box-shadow: 0 0.3em 0 var(--outline_color);
}
HTML
<div class="checkbox-wrapper-59">
<label class="switch">
<input type="checkbox">
<span class="slider"></span>
</label>
</div>
CSS
.checkbox-wrapper-59 input[type="checkbox"]
{
visibility: hidden;
display: none;
}
.checkbox-wrapper-59 *,
.checkbox-wrapper-59 ::after,
.checkbox-wrapper-59 ::before
{
box-sizing: border-box;
}
.checkbox-wrapper-59 .switch
{
width: 60px;
height: 30px;
position: relative;
display: inline-block;
}
.checkbox-wrapper-59 .slider
{
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
border-radius: 30px;
box-shadow: 0 0 0 2px #777, 0 0 4px #777;
cursor: pointer;
border: 4px solid transparent;
overflow: hidden;
transition: 0.2s;
}
.checkbox-wrapper-59 .slider:before
{
position: absolute;
content: "";
width: 100%;
height: 100%;
background-color: #777;
border-radius: 30px;
transform: translateX(-56px);
transition: 0.2s;
}
.checkbox-wrapper-59 input:checked + .slider:before
{
transform: translateX(4px);
background-color: limeGreen;
}
.checkbox-wrapper-59 input:checked + .slider
{
box-shadow: 0 0 0 2px limeGreen, 0 0 8px limeGreen;
}
HTML
<div class="checkbox-wrapper-60">
<input type="checkbox" class="check" id="check1-60"/>
<label for="check1-60" class="label">
<svg viewBox="0 0 65 65" height="30" width="30">
<rect x="7" y="7" width="50" height="50" stroke="black" fill="none" />
<g transform="translate(-23,-967.36216)" id="layer1-60">
<path id="path4146" d="m 55,978 c -73,19 46,71 15,2 C 60,959 13,966 30,1007 c 12,30 61,13 46,-23" fill="none" stroke="black" stroke-width="3" class="path1" />
</g>
</svg>
<span>Checkbox</span>
</label>
</div>
CSS
.checkbox-wrapper-60 input[type="checkbox"]
{
visibility: hidden;
display: none;
}
.checkbox-wrapper-60 *,
.checkbox-wrapper-60 ::after,
.checkbox-wrapper-60 ::before
{
box-sizing: border-box;
}
.checkbox-wrapper-60
{
position: relative;
display: block;
overflow: hidden;
}
.checkbox-wrapper-60 .check
{
width: 50px;
height: 50px;
position: absolute;
opacity: 0;
}
.checkbox-wrapper-60 .label svg
{
vertical-align: middle;
}
.checkbox-wrapper-60 .path1
{
stroke-dasharray: 400;
stroke-dashoffset: 400;
transition: .5s all;
}
.checkbox-wrapper-60 .check:checked + label svg g path
{
stroke-dashoffset: 0;
}
HTML
<div class="checkbox-wrapper-61">
<input type="checkbox" class="check" id="check1-61"/>
<label for="check1-61" class="label">
<svg width="45" height="45" viewbox="0 0 95 95">
<rect x="30" y="20" width="50" height="50" stroke="black" fill="none" />
<g transform="translate(0,-952.36222)">
<path d="m 56,963 c -102,122 6,9 7,9 17,-5 -66,69 -38,52 122,-77 -7,14 18,4 29,-11 45,-43 23,-4 " stroke="black" stroke-width="3" fill="none" class="path1" />
</g>
</svg>
<span>Checkbox</span>
</label>
</div>
CSS
.checkbox-wrapper-61 input[type="checkbox"]
{
visibility: hidden;
display: none;
}
.checkbox-wrapper-61 *,
.checkbox-wrapper-61 ::after,
.checkbox-wrapper-61 ::before
{
box-sizing: border-box;
}
.checkbox-wrapper-61
{
position: relative;
display: block;
overflow: hidden;
}
.checkbox-wrapper-61 .check
{
width: 50px;
height: 50px;
position: absolute;
opacity: 0;
}
.checkbox-wrapper-61 .label svg
{
vertical-align: middle;
}
.checkbox-wrapper-61 .path1
{
stroke-dasharray: 400;
stroke-dashoffset: 400;
transition: .5s stroke-dashoffset;
opacity: 0;
}
.checkbox-wrapper-61 .check:checked + label svg g path
{
stroke-dashoffset: 0;
opacity: 1;
}
HTML
<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>
CSS
.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;
}
HTML
<div class="checkbox-wrapper-63">
<label class="switch">
<input type="checkbox">
<span class="slider"></span>
</label>
</div>
CSS
.checkbox-wrapper-63 input[type="checkbox"]
{
visibility: hidden;
display: none;
}
.checkbox-wrapper-63 *,
.checkbox-wrapper-63 ::after,
.checkbox-wrapper-63 ::before
{
box-sizing: border-box;
}
/* The switch - the box around the slider */
.checkbox-wrapper-63 .switch
{
font-size: 1rem;
position: relative;
display: inline-block;
width: 4em;
height: 2em;
}
/* The slider */
.checkbox-wrapper-63 .slider
{
position: absolute;
cursor: pointer;
inset: 0;
background-color: #eee;
transition: 0.4s;
border-radius: 0.5em;
box-shadow: 0 0.2em #dfd9d9;
}
.checkbox-wrapper-63 .slider:before
{
position: absolute;
content: "";
height: 1.5em;
width: 1.4em;
border-radius: 0.3em;
left: 0.3em;
bottom: 0.7em;
background-color: lightsalmon;
transition: 0.4s;
box-shadow: 0 0.4em #bcb4b4;
}
.checkbox-wrapper-63 .slider:hover::before
{
box-shadow: 0 0.2em #bcb4b4;
bottom: 0.5em;
}
.checkbox-wrapper-63 input:checked + .slider::before
{
transform: translateX(2em);
background: lightgreen;
}
HTML
<div class="checkbox-wrapper-64">
<label class="switch">
<input type="checkbox">
<span class="slider"></span>
</label>
</div>
CSS
.checkbox-wrapper-64 input[type="checkbox"]
{
visibility: hidden;
display: none;
}
.checkbox-wrapper-64 *,
.checkbox-wrapper-64 ::after,
.checkbox-wrapper-64 ::before
{
box-sizing: border-box;
}
/* The switch - the box around the slider */
.checkbox-wrapper-64 .switch
{
font-size: 17px;
position: relative;
display: inline-block;
width: 3.5em;
height: 2em;
}
/* Hide default HTML checkbox */
.checkbox-wrapper-64 .switch input
{
opacity: 0;
width: 0;
height: 0;
}
/* The slider */
.checkbox-wrapper-64 .slider
{
position: absolute;
cursor: pointer;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: #fff;
border: 1px solid #adb5bd;
transition: .4s;
border-radius: 30px;
}
.checkbox-wrapper-64 .slider:before
{
position: absolute;
content: "";
height: 1.4em;
width: 1.4em;
border-radius: 20px;
left: 0.27em;
bottom: 0.25em;
background-color: #adb5bd;
transition: .4s;
}
.checkbox-wrapper-64 input:checked + .slider
{
background-color: #007bff;
border: 1px solid #007bff;
}
.checkbox-wrapper-64 input:focus + .slider
{
box-shadow: 0 0 1px #007bff;
}
.checkbox-wrapper-64 input:checked + .slider:before
{
transform: translateX(1.4em);
background-color: #fff;
}
HTML
<div class="checkbox-wrapper-65">
<label for="cbk1-65">
<input type="checkbox" id="cbk1-65">
<span class="cbx">
<svg width="12px" height="11px" viewBox="0 0 12 11">
<polyline points="1 6.29411765 4.5 10 11 1"></polyline>
</svg>
</span>
<span>Checkbox</span>
</label>
</div>
CSS
.checkbox-wrapper-65 *,
.checkbox-wrapper-65 ::after,
.checkbox-wrapper-65 ::before
{
box-sizing: border-box;
}
.checkbox-wrapper-65 .cbx
{
position: relative;
display: block;
float: left;
width: 18px;
height: 18px;
border-radius: 4px;
background-color: #606062;
background-image: linear-gradient(#474749, #606062);
box-shadow: inset 0 1px 1px rgba(255,255,255,0.15), inset 0 -1px 1px rgba(0,0,0,0.15);
transition: all 0.15s ease;
}
.checkbox-wrapper-65 .cbx svg
{
position: absolute;
top: 3px;
left: 3px;
fill: none;
stroke-linecap: round;
stroke-linejoin: round;
stroke: #fff;
stroke-width: 2;
stroke-dasharray: 17;
stroke-dashoffset: 17;
transform: translate3d(0, 0, 0);
}
.checkbox-wrapper-65 .cbx + span
{
float: left;
margin-left: 6px;
}
.checkbox-wrapper-65
{
user-select: none;
}
.checkbox-wrapper-65 label
{
display: inline-block;
cursor: pointer;
}
.checkbox-wrapper-65 input[type="checkbox"]
{
display: none;
visibility: hidden;
}
.checkbox-wrapper-65 input[type="checkbox"]:checked + .cbx
{
background-color: #606062;
background-image: linear-gradient(#255cd2, #1d52c1);
}
.checkbox-wrapper-65 input[type="checkbox"]:checked + .cbx svg
{
stroke-dashoffset: 0;
transition: all 0.15s ease;
}
FAQ
Our goal is to make high-quality design accessible to everyone at an affordable price. We collaborate with a global network of talented designers and developers who provide us with unique and innovative designs at a reduced cost. By streamlining our processes and focusing on efficiency, we keep our prices low, making professional-quality designs accessible to all businesses and individuals.
The download file includes everything you need to get started: HTML, CSS, JS files, and all relevant images. The files are identical to what you see on the live demo, provided in clean and well-structured HTML format for easy customization without requiring additional installations.
Yes, you can use the themes for multiple projects as long as they comply with our terms.
Yes, we provide dedicated customer support to help you resolve any issues or questions related to our themes. You can reach out to us through our support email ([email protected]), and we’ll respond promptly.