.link{ color: #888; font-family: 'Maven Pro', sans-serif; font-size: 25px; font-weight: 700; line-height: 22px; text-transform: capitalize; display: inline-block; position: relative; transition: all 0.3s ease 0s; } .link:hover, .link:focus{ color: #888; } .link:before{ content: attr(data-content); color: #006266; font-size: inherit; font-weight: inherit; opacity: 0; visibility: hidden; transform: scale(1.4); position: absolute; left: 0; top: 0; transition: all 0.3s ease 0s; } .link:hover:before{ opacity: 1; visibility: visible; transform: scale(1); } @media only screen and (max-width: 767px){ .link{ margin-bottom: 30px; } }