Skip to content

Instantly share code, notes, and snippets.

@wunnle wunnle/toggle2.scss
Last active Mar 16, 2019

Embed
What would you like to do?
.toggle-checkbox:checked + .toggle {
background: #4079F5;
transition: background 0.5s ease;
.toggle-pill {
margin-left: calc(100% - 12px);
}
}
.toggle-checkbox:focus + .toggle {
background: #7da6ff;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.