.link{ color: #0000; background: linear-gradient(to bottom right, #3C609C 49%, #fff 50.1%) left/300% 300% no-repeat, linear-gradient(to bottom right, #0000 49%, #3C609C 50.1%) left/300% 300% no-repeat; font-family: 'Rowdies', cursive; -webkit-background-clip: text, padding-box; -moz-background-clip: text, padding-box; background-clip: text, padding-box; font-size: 22px; font-weight: 400; line-height: 20px; text-transform: capitalize; letter-spacing: 1px; display: inline-block; transition: all 0.4s ease 0s; } .link:focus, .link:hover{ color: #0000; background-position: center; } @media only screen and (max-width: 767px){ .link{ margin-bottom: 30px; } }