Animated Checkboxes
How do I make an animated checkboxes?
Just some simple animated toggle elements.. What is a animated checkboxes? How do you make a animated checkboxes? This script and codes were developed by Jarad Light on 09 October 2022, Sunday.
Animated Checkboxes - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Animated Checkboxes</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.min.css"> <link rel='stylesheet prefetch' href='http://maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css'> <link rel="stylesheet" href="css/style.css">
</head>
<body> <ul class="choice-list"> <li class="checkbox check"></li> <li class="checkbox heart is-checked"></li> <li class="checkbox star"></li>
</ul> <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script> <script src="js/index.js"></script>
</body>
</html>
Animated Checkboxes - Script Codes CSS Codes
body { background-color: #333;
}
.choice-list { margin: 50px auto; width: 640px; display: block; padding: 0;
}
.checkbox { float: left; width: 100px; height: 100px; cursor: pointer; -moz-border-radius: 100px; -webkit-border-radius: 100px; border-radius: 100px; display: block; background-color: rgba(0, 0, 0, 0.25); margin: 20px; -moz-transition: all 0.15s cubic-bezier(0.5, 0, 0, 1.5); -o-transition: all 0.15s cubic-bezier(0.5, 0, 0, 1.5); -webkit-transition: all 0.15s cubic-bezier(0.5, 0, 0, 1.5); transition: all 0.15s cubic-bezier(0.5, 0, 0, 1.5);
}
.checkbox:hover { background-color: rgba(0, 0, 0, 0.5);
}
.checkbox:hover:after { color: white;
}
.checkbox:after { line-height: 100px; font-family: "FontAwesome"; display: block; content: ""; color: rgba(255, 255, 255, 0.5); text-align: center; width: 100%; height: 100%; -moz-transform: scale(0.5); -ms-transform: scale(0.5); -webkit-transform: scale(0.5); transform: scale(0.5); -moz-border-radius: 100%; -webkit-border-radius: 100%; border-radius: 100%; font-size: 30px; -moz-transition: all 0.15s cubic-bezier(0.5, 0, 0, 1.5), font-size 0.35s cubic-bezier(0.5, 0, 0, 3); -o-transition: all 0.15s cubic-bezier(0.5, 0, 0, 1.5), font-size 0.35s cubic-bezier(0.5, 0, 0, 3); -webkit-transition: all 0.15s cubic-bezier(0.5, 0, 0, 1.5), font-size 0.35s cubic-bezier(0.5, 0, 0, 3); transition: all 0.15s cubic-bezier(0.5, 0, 0, 1.5), font-size 0.35s cubic-bezier(0.5, 0, 0, 3);
}
.checkbox.is-checked:after { -moz-transform: scale(1); -ms-transform: scale(1); -webkit-transform: scale(1); transform: scale(1); font-size: 50px; color: white;
}
.checkbox.is-checked:hover:after { -moz-transform: scale(1.1); -ms-transform: scale(1.1); -webkit-transform: scale(1.1); transform: scale(1.1);
}
.check:after { content: "\f00c"; background-color: rgba(165, 194, 92, 0);
}
.check.is-checked:after { background-color: #a5c25c;
}
.heart:after { content: "\f004"; background-color: rgba(241, 76, 56, 0);
}
.heart.is-checked:after { background-color: #f14c38;
}
.star:after { content: "\f005"; background-color: rgba(255, 202, 37, 0);
}
.star.is-checked:after { background-color: #ffca25;
}
Animated Checkboxes - Script Codes JS Codes
$('.checkbox').click(function(){ $(this).toggleClass('is-checked');
});
Developer | Jarad Light |
Username | jaradlight |
Uploaded | October 09, 2022 |
Rating | 4 |
Size | 2,911 Kb |
Views | 40,480 |
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 |
Dropdown styles | 2,097 Kb |
Map Location Hover demo | 3,439 Kb |
Loading Bar | 2,333 Kb |
Input File behaviours | 2,550 Kb |
A Pen by Jarad Light | 2,453 Kb |
Simple Menu | 2,790 Kb |
Sass Placeholder Stuff | 1,751 Kb |
RPG Tool | 3,422 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 Skills | Supro | 3,312 Kb |
Print element on a page | Mrs_snow | 2,081 Kb |
Animated Donut Chart | Jplhomer | 3,808 Kb |
Vanilla modal window | Jasonhowmans | 3,554 Kb |
CSS Dynamic Width Square Div | Elleestcrimi | 2,861 Kb |
Improved Page Flipping Effect | Usaphp | 5,201 Kb |
Polo, the flying squirrel | Agbales | 2,445 Kb |
Tooltip in table | Roine | 3,713 Kb |
Minimal Menu | Achudars | 3,430 Kb |
Buttons with style | Chbymnky | 2,082 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!