Skip to content

magently/CSS-radios-n-checkboxes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CSS radios & checkboxes

It is a simple method for customizing checkboxes and radiobuttons. The method is based on the "for" attribute of the "label" element. If you add for the label the same "for" attribute as the ID of the input, then each time a label is clicked, the input's status will change (the "checked" attribute).

By adding some styles, you can simply change the inputs' looks. You don't need to use any jQuery plugin or JavaScript.

Example

About

a method for creating checkboxes and radios with pure css

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages