Single element checkbox
How do I make an single element checkbox?
What is a single element checkbox? How do you make a single element checkbox? This script and codes were developed by Vijay Gupta on 10 November 2022, Thursday.
Single element checkbox - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>single element checkbox</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css"> <link rel="stylesheet" href="css/style.css">
</head>
<body> <input type="checkbox" class="chk"/>
</body>
</html>
Single element checkbox - Script Codes CSS Codes
html { padding: 30px;
}
.chk { cursor: pointer; width: 50px; height: 50px; position: relative;
}
.chk:after { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; border-radius: 50%; border: #eee 3px solid; background: white; -webkit-transition: .5; transition: .5;
}
.chk:checked:after { border: #ccc 3px solid;
}
.chk:before { content: ''; position: absolute; z-index: 1; top: 10px; left: 10px; right: 10px; bottom: 10px; background: #ccc; border-radius: 50%; opacity: 0; -webkit-transition: .5; transition: .5;
}
.chk:checked:before { opacity: 1;
}
Developer | Vijay Gupta |
Username | ivijaygupta |
Uploaded | November 10, 2022 |
Rating | 3 |
Size | 1,996 Kb |
Views | 8,096 |
Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!
Name | Size |
IOS like wobbling effect with pure CSS3 | 6,148 Kb |
A Pen by Vijay Gupta | 1,852 Kb |
Css3 Shapely Dino...inspired by Dribbble shot by Jason Smith | 3,430 Kb |
Cute animated swimming Squid made in pure CSS | 4,121 Kb |
Toggle Password Field Visibility with a Pure CSS3 Toggle Switch | 2,930 Kb |
Bird | 2,530 Kb |
Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!
Name | Username | Size |
AngularJS Datalist Directive | M-e-conroy | 2,366 Kb |
Sticky Navbar | Phantomesse | 5,106 Kb |
Ghost | Mghayour | 11,738 Kb |
Example SVGZ Data URI | Joeyhoer | 2,981 Kb |
Tab panels | Accessibility | 0 Kb |
Banner Ad | Raquellorenzana | 4,172 Kb |
A Pen by Theun | Tjoen | 6,152 Kb |
A Pen by Matt Popovich | Mpopv | 3,349 Kb |
Light Switch | Bartuc | 4,933 Kb |
Loading Bar | Jaradlight | 2,333 Kb |
Surf anonymously, prevent hackers from acquiring your IP address, send anonymous email, and encrypt your Internet connection. High speed, ultra secure, and easy to use. Instant setup. Hide Your IP Now!