Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .radiobutonat input[type="radio"]{
- position: absolute;
- left: -9999px;
- }
- .radiobutonat input[type="radio"] + span {
- position: relative;
- padding: 0 0 0 40px;
- cursor: pointer;
- }
- .radiobutonat input[type="radio"] +span:before{
- content: '';
- background: white;
- border: 2px solid green;
- height: 25px;
- width: 25px;
- border-radius: 50%;
- position: absolute;
- top: 0;
- left: 0;
- }
- .radiobutonat input[type="radio"] +span:after{
- content: '';
- background: green;
- width: 15px;
- height: 15px;
- border-radius: 50%;
- position: absolute;
- top: 5px;
- left: 5px;
- opacity: 0;
- }
- .radiobutonat input[type="radio"]:checked +span:after{
- opacity: 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement