css hover link style : demo 108

CSS

(Fonts required: Ubuntu.)
                        .link{
                            color: #000;
                            font-family: 'Ubuntu', sans-serif;
                            font-size: 25px;
                            font-weight: 500;
                            line-height: 19px;
                            letter-spacing: 0.5px;
                            padding: 0 7px 0 5px;
                            margin: 5px 10px;
                            text-transform: uppercase;
                            display: inline-block;
                            position: relative;
                            z-index: 1;
                            transition: all 0.3s ease 0s;
                        }
                        .link:focus,
                        .link:hover{
                            color: #fff;
                        }
                        .link:before,
                        .link:after{
                            content: "";
                            background-color: #1e90ff;
                            width: 5px;
                            position: absolute;
                            top: -5px;
                            bottom: -5px;
                            left: 0;
                            z-index: 1;
                            transition: all 0.3s ease;
                        }
                        .link:after{
                            background-color: #ff6348;
                            width: 0;
                            left: 0;
                            top: -3px;
                            bottom: -3px;
                            z-index: -1;
                        }
                        .link:focus:before,
                        .link:hover:before{
                            background-color: #2ed573;
                            left: calc(100% - 3px);
                        }
                        .link:focus:after,
                        .link:hover:after{
                            background-color: #ff4757;
                            width: 100%;
                        }
                        @media only screen and (max-width: 767px){
                            .link{ margin-bottom: 30px; }
                        }
                    
License Terms