css hover link style : demo 177

CSS

(Fonts required: Fredoka.)
                    .link{
                        color: #111;
                        font-family: 'Fredoka', sans-serif;
                        font-size: 25px;
                        font-weight: 400;
                        font-style: italic;
                        text-transform: capitalize;
                        line-height: 20px;
                        margin: 5px;
                        display: inline-block;
                        position: relative;
                        z-index: 1;
                        transition: all 0.3s ease-in-out;
                    }   
                    .link:hover,
                    .link:focus{
                        color: #e847d4;
                    }
                    .link:before,
                    .link:after{
                        content: '';
                        border: 2px dashed #e847d4;
                        height: 100%;
                        width: 100%;
                        opacity: 0.2;
                        position: absolute;
                        left: -5px;
                        top: -5px;
                        z-index: -1;
                        transition: all 0.5s ease 0s;
                    }
                    .link:after{
                        left: 5px;
                        top: 5px;
                    }
                    .link:hover:before,
                    .link:hover:after{
                        background-color: #e847d4;
                        opacity: 0;
                        left: 0;
                        top: 0;
                    }
                    @media only screen and (max-width: 767px){
                        .link{ margin-bottom: 30px; }
                    }
                    
License Terms