Custom Styling Form Inputs With Modern CSS Features | CSS-Tricks


41 bookmarks. First posted by travellersam 19 days ago.


@supports(-webkit-appearance: none) or (-moz-appearance: none) { input[type='checkbox'], input[type='radio'] { -webkit-appearance: none; -moz-appearance: none; } } :checked :hover :focus :disabled /* The toggle container */ .switch { width: 38px; border-radius: 11px; } /* The toggle knob */ . via Pocket
IFTTT  Pocket  css  form  ui  web  design 
14 days ago by cijanzen
Custom Styling Form Inputs With Modern CSS Features
css3  html5 
15 days ago by john_blaze
Custom Styling Form Inputs With Modern CSS Features
17 days ago by remrks
It’s entirely possible to build custom checkboxes, radio buttons, and toggle switches these days, while staying semantic and accessible. We don’t even need a single line of JavaScript or extra HTML elements!
css  forms 
17 days ago by dtg
It’s entirely possible to build custom checkboxes, radio buttons, and toggle switches these days, while staying semantic and accessible. We don’t even need a single line of JavaScript or extra HTML elements! It’s actually gotten easier lately than it has been in the past. Let’s take a look.
fridayfrontend  css  cssbasics  forms  checkboxes  radio  toggles 
18 days ago by spaceninja
Custom Styling Form Inputs With Modern CSS Features
IFTTT  feedbin 
19 days ago by siggiarni
@supports(-webkit-appearance: none) or (-moz-appearance: none) { input[type='checkbox'], input[type='radio'] { -webkit-appearance: none; -moz-appearance: none; } } :checked :hover :focus :disabled /* The toggle container */ .switch { width: 38px; border-radius: 11px; } /* The toggle knob */ .
Archive  inoreader  tech 
19 days ago by williger
It’s entirely possible to build custom checkboxes, radio buttons, and toggle switches these days, while staying semantic and accessible. We don’t even
css 
19 days ago by davidmerrique
Custom Styling Form Inputs With Modern CSS Features
from twitter_favs
19 days ago by travellersam
Custom Styling Form Inputs With Modern CSS Features
from twitter_favs
19 days ago by davidhund