Instantly share code, notes, and snippets.

Embed
What would you like to do?
Стилизация radio-buttons
input[type="radio"]{
display:inline-block;
position:relative;
top: 3px;
height: 16px;
width: 16px;
margin-left: 30px;
margin-right: 15px;
background-color: #ffffff;
border: 2px solid #00a191;
border-radius: 50%;
cursor: pointer;
-webkit-appearance: none;
outline: none;
}
input[type="radio"]:after{
display: block;
content: '';
position: relative;
top: 2px;
left: 2px;
height: 8px;
width: 8px;
background-color: transparent;
border-radius: 50%;
}
input[type="radio"]:checked:after{
background-color: #00a191;
transition: all .3s
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment