background preloader

Radio & checkbox

Facebook Twitter

Fancy checkboxes and radio buttons with CSS. After all these years, people still ask how to style custom checkboxes and radio buttons in forms while keeping everything accessible.

Fancy checkboxes and radio buttons with CSS

At my studio Creative Nights, we’ve used the following few lines of CSS and JavaScript for more than 10 years now that covers outdated browser versions too (Safari label behaviour fix included) For those in a hurry, you can go straight to the vanilla JavaScript Fancy checkboxes demo page. jQuery Plugins for Styling Checkbox & Radio Buttons.

The Checkbox and radio button versions of input elements used in forms on the web are amongst the most difficult to style according to your overall web design.

jQuery Plugins for Styling Checkbox & Radio Buttons

These elements will display differently depending on the user’s operating system, but we can change their appearance globally with the help of jQuery. This roundup links up 12 handy resources for styling your form elements, from clean and minimal button styles to unique iPhone style toggle switches. Visit the plugin homepage Visit the plugin homepage Visit the plugin homepage.