DEV Community

Discussion on: How to create a custom Toggle Switch using CSS

Collapse
koenahn profile image
Koen Ahn

You could use EM units instead of PX! :) Then change the container's font-size to adapt the switch's size.