It's been a while as I've been mad busy at work, but I saw a Dribbble design I liked and wanted to replicate it.
Tried doing it without JavaScript as well.
The design was this:
My result was this: (less smooth but it works)
https://codepen.io/Markshall/pen/rPzELR
HTML:
<!DOCTYPE html>
<html...
Been very bored at work since I finished my previous project so knocked up a few form components based on the Google Material design language.
I know there are plenty of these about but I’ve never styled checkboxes/radio buttons.. so fancied giving it a go.
Use as you wish...