Custom checbox with css
How do I make an custom checbox with css?
What is a custom checbox with css? How do you make a custom checbox with css? This script and codes were developed by Tommy on 30 December 2022, Friday.
Custom checbox with css - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Custom checbox with css</title> <link href="//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css" rel="stylesheet"> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.min.css"> <link rel='stylesheet prefetch' href='https://netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css'> <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! */ div { margin: 10px;
}
.regular-checkbox { display: none;
}
.regular-checkbox + label.pseudo-checkbox { background-color: #11acff; /* border: @border;
*/ padding: 9px; display: inline-block; position: relative; /* -webkit-border-radius: 0; -moz-border-radius: 0; border-radius: 0;*/ vertical-align: middle;
}
.regular-checkbox:checked + label.pseudo-checkbox { background-color: #11acff; /* border: @border;
*/
}
.regular-checkbox:checked + label.pseudo-checkbox:after { font-family: FontAwesome; content: "\f00c"; font-size: 14px; position: absolute; top: -1px; left: 1px; color: #fff; /* content: " "; width: 12px; height: 12px; background: #000; -webkit-border-radius: 50%; -moz-border-radius: 50%; border-radius: 50%; */
}
label.pseudo-checkbox { display: inline; margin-right: 10px;
} </style> <script src="https://cdnjs.cloudflare.com/ajax/libs/prefixfree/1.0.7/prefixfree.min.js"></script>
</head>
<body> <label><input type="checkbox" />this is normal check box</label>
<br />
<input type="radio" />
<div> <label> <input type="checkbox" id="checkbox-1-1" class="regular-checkbox"> <label for="checkbox-1-1" class="pseudo-checkbox"></label>hoehoe </label>
</div>
<div> <label> <input type="checkbox" id="checkbox-1-2" class="regular-checkbox"> <label for="checkbox-1-2" class="pseudo-checkbox"></label>fuafua </label>
</div> <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script>
</body>
</html>
Custom checbox with css - Script Codes CSS Codes
div { margin: 10px;
}
.regular-checkbox { display: none;
}
.regular-checkbox + label.pseudo-checkbox { background-color: #11acff; /* border: @border;
*/ padding: 9px; display: inline-block; position: relative; /* -webkit-border-radius: 0; -moz-border-radius: 0; border-radius: 0;*/ vertical-align: middle;
}
.regular-checkbox:checked + label.pseudo-checkbox { background-color: #11acff; /* border: @border;
*/
}
.regular-checkbox:checked + label.pseudo-checkbox:after { font-family: FontAwesome; content: "\f00c"; font-size: 14px; position: absolute; top: -1px; left: 1px; color: #fff; /* content: " "; width: 12px; height: 12px; background: #000; -webkit-border-radius: 50%; -moz-border-radius: 50%; border-radius: 50%; */
}
label.pseudo-checkbox { display: inline; margin-right: 10px;
}
Developer | Tommy |
Username | hoehoe |
Uploaded | December 30, 2022 |
Rating | 3 |
Size | 2,825 Kb |
Views | 4,048 |
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 |
Timeline with CSS | 2,552 Kb |
Timeline sample | 2,263 Kb |
Get Form value with jQuery | 1,931 Kb |
CSS animation | 2,194 Kb |
Parallax with only css | 3,096 Kb |
Vue with axios sample | 2,991 Kb |
A Pen by Tommy | 1,738 Kb |
Flex box | 2,171 Kb |
Star Rates with radio buttons and CSS | 2,650 Kb |
Materialize css | 3,074 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 |
C.Rowe Button | Brownerd | 2,473 Kb |
Single element checkbox | Ivijaygupta | 1,996 Kb |
Mostly Fluid | Mccreath | 3,308 Kb |
Slider | Mohammed-fawzy | 2,634 Kb |
CSS Donut Charts | Seanstopnik | 2,908 Kb |
Automatic scroll | Skeurentjes | 4,042 Kb |
Price Comparison Table | Orrinward | 3,459 Kb |
Minimal Menu | Achudars | 3,430 Kb |
CSS3 Form Page Design | Rssatnam | 3,613 Kb |
Caputre Cam with JS | KimmoCommit | 2,795 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!