Skip to content

Instantly share code, notes, and snippets.

@Jenya476
Last active December 13, 2017 12:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Jenya476/1394649bb519df1b92502ca0d08fcd32 to your computer and use it in GitHub Desktop.
Save Jenya476/1394649bb519df1b92502ca0d08fcd32 to your computer and use it in GitHub Desktop.
Стилизация 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