Single element checkbox

1,996 Kb

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 Previews

Single element checkbox - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>single element checkbox</title> <link rel="stylesheet" href=""> <link rel="stylesheet" href="css/style.css">
<body> <input type="checkbox" class="chk"/>

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;
Single element checkbox - Script Codes
Single element checkbox - Script Codes
Home Page Home
Developer Vijay Gupta
Username ivijaygupta
Uploaded November 10, 2022
Rating 3
Size 1,996 Kb
Views 8,096
Do you need developer help for Single element checkbox?

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!

Vijay Gupta (ivijaygupta) Script Codes
Create amazing blog posts with AI!

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!