Checkbox
How do I make an checkbox?
Nice design https://dribbble.com/shots/755717-Switch. What is a checkbox? How do you make a checkbox? This script and codes were developed by Nick Nikolov on 17 October 2022, Monday.
Checkbox - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Checkbox</title> <link rel='stylesheet prefetch' href='https://maxcdn.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.cs'> <style> /* NOTE: The styles were added inline because Prefixfree needs access to your styles and they must be inlined if they are on local disk! */ label{ display:block; padding:5px 10px; line-height:20px; font-family:Roboto,Arial,sans-serif; font-size:12px;
}
[type="checkbox"]{ vertical-align:middle; display:inline-block; position:relative; -webkit-appearance: none; background:#ddd; box-shadow:none; box-shadow:inset rgba(0,0,0,0.1) 0px 0px 3px; border-radius:2px; height:16px; width:30px; -webkit-transition:all 0.2s ease-in-out; outline:none;
}
[type="checkbox"]:after{ -webkit-transition:all 0.2s ease-in-out; content:''; display:block; position:absolute; top:1px; left:1px; height:14px; width:14px; background:#f8f8f8; border-radius:1px; box-shadow:rgba(0,0,0,0.06) 2px 0px 1px -1px;
}
[type="checkbox"]:checked{ background:#53d769;
}
[type="checkbox"]:checked:after{ left:15px; box-shadow:rgba(0,0,0,0.1) -2px 0px 1px -1px; color:#fff; text-shadow:rgba(0,0,0,0.05) 0px 1px 0px;
}
[type="checkbox"]:before{ -webkit-transition:all 0.2s ease-in-out; font-family:FontAwesome; text-align:center; content:'\f00d'; line-height:13px; font-size:8px; display:block; position:absolute; top:1px; left:15px; height:14px; width:14px; color:#fff;
}
[type="checkbox"]:checked:before{ content:"\f00c"; left:1px;
} </style> <script src="https://cdnjs.cloudflare.com/ajax/libs/prefixfree/1.0.7/prefixfree.min.js"></script>
</head>
<body> <label> <input type="checkbox" /> Option 1
</label>
<label> <input type="checkbox" /> Option 2
</label>
<label> <input type="checkbox" /> Option 3
</label>
</body>
</html>
Checkbox - Script Codes CSS Codes
label{ display:block; padding:5px 10px; line-height:20px; font-family:Roboto,Arial,sans-serif; font-size:12px;
}
[type="checkbox"]{ vertical-align:middle; display:inline-block; position:relative; -webkit-appearance: none; background:#ddd; box-shadow:none; box-shadow:inset rgba(0,0,0,0.1) 0px 0px 3px; border-radius:2px; height:16px; width:30px; -webkit-transition:all 0.2s ease-in-out; outline:none;
}
[type="checkbox"]:after{ -webkit-transition:all 0.2s ease-in-out; content:''; display:block; position:absolute; top:1px; left:1px; height:14px; width:14px; background:#f8f8f8; border-radius:1px; box-shadow:rgba(0,0,0,0.06) 2px 0px 1px -1px;
}
[type="checkbox"]:checked{ background:#53d769;
}
[type="checkbox"]:checked:after{ left:15px; box-shadow:rgba(0,0,0,0.1) -2px 0px 1px -1px; color:#fff; text-shadow:rgba(0,0,0,0.05) 0px 1px 0px;
}
[type="checkbox"]:before{ -webkit-transition:all 0.2s ease-in-out; font-family:FontAwesome; text-align:center; content:'\f00d'; line-height:13px; font-size:8px; display:block; position:absolute; top:1px; left:15px; height:14px; width:14px; color:#fff;
}
[type="checkbox"]:checked:before{ content:"\f00c"; left:1px;
}
Developer | Nick Nikolov |
Username | necks |
Uploaded | October 17, 2022 |
Rating | 3 |
Size | 2,493 Kb |
Views | 24,288 |
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 |
CSS Animated Weather icons | 5,145 Kb |
Gallery image deck | 2,396 Kb |
Page header bar toggle on scroll | 4,141 Kb |
60fps animated SVG waves hero | 3,268 Kb |
Simple grid layout | 1,978 Kb |
4 color border for highlighting feature elements | 4,105 Kb |
User Icons | 3,351 Kb |
Range bar with indicator | 3,312 Kb |
SVG Clock | 2,163 Kb |
Progress bars with colour change. | 3,845 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 |
Parallax with only CSS | Thulioph | 2,297 Kb |
The Rope | Chribbe | 2,886 Kb |
JQuery Viewport Size | Jeffpannone | 2,317 Kb |
Css3 only dropdown menu | Riogrande | 2,519 Kb |
Static Image to Video Block | Grayghostvisuals | 4,864 Kb |
Collapsing Widget | Er40 | 4,279 Kb |
Hamburger Menu Animation | Salmanraza | 2,580 Kb |
12 DAYS OF XMAS | Proto78 | 2,313 Kb |
JQuery AJAX reddit Exercise | Btholt | 1,777 Kb |
Twitch | SarahDunlap | 2,937 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!