Instantly share code, notes, and snippets.

Damien Lucchese DamienLucchese

  • Staten Island, NY
View GitHub Profile
View customCHECKBOX.html
<html>
<head>
<script src="https://code.jquery.com/jquery-1.11.1.min.js"></script>
</head>
<body>
<!-- THIS IS THE CHECKBOX HTML -->
<!-- PLEASE NOTE: THE LABEL "for=''" SHOULD MATCH THE INPUT "id=''"
IF MULTIPLE CHECKBOXES, THEY NEED TO BE UNIQUE -->
<div class="checkbox text-center">
View imgToggleCustomCheckbox
<html>
<head>
<script src="https://code.jquery.com/jquery-1.11.1.min.js"></script>
</head>
<body>
<!-- Hi, here's a way you can make custom checkboxes with a little HTML, CSS, and jQuery.
You can make your own img file, host it, change the link in the css and make it your own.
Also, if you're just getting into web development,
this is a great way to get familiar with how HTML, CSS, & Javascript interact and help eachother.