Created
December 12, 2016 21:31
-
-
Save estrattonbailey/cf84d78546ac198d02febc003af75968 to your computer and use it in GitHub Desktop.
Checkbox/Radio Recipe
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
input[type="checkbox"], | |
input[type="radio"] { | |
border: 1px solid var(--cb); | |
vertical-align: middle; | |
&:checked{ | |
background-color: var(--c1); | |
border-color: var(--c1); | |
} | |
&:focus{ | |
box-shadow: none; | |
} | |
} | |
label.checkbox, label.radio { | |
input { | |
font-size: 2rem; | |
margin: 0 .33em 0 0; | |
vertical-align: middle; | |
} | |
} | |
input[type="radio"] { | |
border-radius: 100%; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment