for welliba
jQuery 3.4.1, HTML, SCSS, JavaScript
- for welliba
css only - for welliba
tappable are just 2nd and 4th bar - for welliba
No-Library (pure JS), HTML, SCSS, JavaScript
CSS only
change the $buttonHeight variable in SCSS, the rest will scale accordingly. I'm using jQuery to add the relevant class for the switch here, you can use whatever you want to toggle the class.