That's exactly what i thought and besides from that, none of those switches handles the actual label with text. So i played around and came up with this one:
codepen.io/nghh/pen/abWKXEK
You just need to edit these variables:
/* overall size */ --size: 1.5em; /* Finetune switch */ --height: 2em; --width: 4em; --border: 0.2em; --font-size: 1em; --switch-color-checked: darkcyan; --switch-color-unchecked: lightgrey; --dot-color-checked: white; --dot-color-unchecked: white;
Cheers
yes! this is much better.
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
That's exactly what i thought and besides from that, none of those switches handles the actual label with text. So i played around and came up with this one:
codepen.io/nghh/pen/abWKXEK
You just need to edit these variables:
Cheers
yes! this is much better.