Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Styles for the custom radio button form.
#styled input {
display: none;
}
#styled label {
display: inline-block;
}
#styled label p{
text-align: center;
}
#styled input + label > img{
border: 10px transparent solid;
}
#styled input:checked + label > img{
border: 10px #58fe77 solid;
-webkit-border-radius: 30px;
-moz-border-radius: 30px;
border-radius: 30px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment