Radio Button style : demo 11

HTML

(Icon Fonts Used : Fontawesome & CSS Framwork: Bootstrap)
                        
                        

CSS

                        .radio-button{
                            font-size: 0;
                            display: inline-block;
                            position: relative;
                            border: 4px solid #222;
                        }
                        .radio-button input[type=radio]{
                            margin: auto;
                            visibility: hidden;
                            position: absolute;
                            left: 0;
                            right: 0;
                            bottom: 0;
                            top: 0;
                        }
                        .radio-button label{
                            color: #222;
                            background: #fff;
                            font-size: 20px;
                            text-align: center;
                            width: 100px;
                            padding: 5px;
                            margin: 0;
                            cursor: pointer;
                            position: relative;
                            z-index: 1;
                            transition: all 0.3s ease 0s;
                        }
                        .radio-button label:before{
                            content: "";
                            background: #222;
                            width: 100%;
                            height: 100%;
                            opacity: 1;
                            transform: scaleX(0);
                            transform-origin: left center;
                            position: absolute;
                            top: 0;
                            left: 0;
                            z-index: -1;
                            transition: all 0.3s ease 0s;
                        }
                        .radio-button label:nth-child(2):before{ transform-origin: right center; }
                        .radio-button input[type=radio]:checked+label{ color: #fff; }
                        .radio-button input[type=radio]:checked+label:before{
                            opacity: 1;
                            transform: scaleX(1);
                        }
                        @media only screen and (max-width:767px){
                            .radio-button{ margin: 0 0 20px; }
                        }
                    
License Terms