.link{ color: #555; background: linear-gradient(-45deg, #B33771 40%, #fff 0 60%, #B33771 0) right/300% 100% no-repeat, linear-gradient(-45deg, #0000 40%, #B33771 0 60%, #0000 0) right/300% 100% no-repeat; -webkit-background-clip: text, padding-box; -moz-background-clip: text, padding-box; background-clip: text, padding-box; font-family: 'Montserrat Alternates', sans-serif; font-size: 22px; font-weight: 600; line-height: 20px; display: inline-block; transition: all 0.8s; } .link:focus, .link:hover{ color: #B33771; background-position: left; } @media only screen and (max-width: 767px){ .link{ margin-bottom: 30px; } }