Custom Checkbox CSS Generator
Generate custom CSS checkbox styles with live preview.
24.1Kuses
8.8/10(113)
22px
4px
2px
CSS Code
.checkbox-wrapper {
display: inline-flex;
align-items: center;
gap: 8px;
cursor: pointer;
}
.checkbox-wrapper input {
display: none;
}
.checkbox-custom {
width: 22px;
height: 22px;
border: 2px solid #555;
border-radius: 4px;
display: flex;
align-items: center;
justify-content: center;
transition: all 0.2s;
}
.checkbox-wrapper input:checked + .checkbox-custom {
background: #6366f1;
border-color: #6366f1;
}
.checkbox-custom::after {
content: "";
width: 8px;
height: 12px;
border: solid #ffffff;
border-width: 0 2px 2px 0;
transform: rotate(45deg) scale(0);
transition: transform 0.2s;
}
.checkbox-wrapper input:checked + .checkbox-custom::after {
transform: rotate(45deg) scale(1);
}Recommended Products
Ad📖Web Design BooksShop →🎨Color Reference GuidesShop →✏️Drawing TabletsShop →🎨Design SoftwareShop →🖥️Monitor CalibratorsShop →💻Laptop StandsShop →🖱️Wireless MouseShop →🔌USB-C HubShop →👓Blue Light GlassesShop →🖥️Desk PadShop →
Affiliate Disclosure: As an Amazon Associate, ToolBird earns from qualifying purchases. Links above are affiliate links — if you buy through them, we may earn a small commission at no extra cost to you.
Disclaimer: This tool is provided as-is for informational and educational purposes only.