Custom checbox with css

Developer
Size
2,825 Kb
Views
4,048

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 Previews

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;
}
Custom checbox with css - Script Codes
Custom checbox with css - Script Codes
Home Page Home
Developer Tommy
Username hoehoe
Uploaded December 30, 2022
Rating 3
Size 2,825 Kb
Views 4,048
Do you need developer help for Custom checbox with css?

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!

Tommy (hoehoe) Script Codes
Create amazing video scripts 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!