Created
April 4, 2019 17:48
-
-
Save rotcl/e6a9d2a20b5affda4c6a5ba7b3c3548e to your computer and use it in GitHub Desktop.
Shopify - Neon Links
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
a:hover { | |
-webkit-animation: neon 1.5s ease-in-out infinite alternate; | |
-moz-animation: neon 1.5s ease-in-out infinite alternate; | |
animation: neon 1.5s ease-in-out infinite alternate; | |
} | |
@-webkit-keyframes neon { | |
from { | |
text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #fff, 0 0 40px #B6FF00, 0 0 70px #B6FF00, 0 0 80px #B6FF00, 0 0 100px #B6FF00, 0 0 150px #B6FF00; | |
} | |
to { | |
text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 15px #fff, 0 0 20px #B6FF00, 0 0 35px #B6FF00, 0 0 40px #B6FF00, 0 0 50px #B6FF00, 0 0 75px #B6FF00; | |
} | |
} | |
@-moz-keyframes neon { | |
from { | |
text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #fff, 0 0 40px #B6FF00, 0 0 70px #B6FF00, 0 0 80px #B6FF00, 0 0 100px #B6FF00, 0 0 150px #B6FF00; | |
} | |
to { | |
text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 15px #fff, 0 0 20px #B6FF00, 0 0 35px #B6FF00, 0 0 40px #B6FF00, 0 0 50px #B6FF00, 0 0 75px #B6FF00; | |
} | |
} | |
@keyframes neon { | |
from { | |
text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #fff, 0 0 40px #B6FF00, 0 0 70px #B6FF00, 0 0 80px #B6FF00, 0 0 100px #B6FF00, 0 0 150px #B6FF00; | |
} | |
to { | |
text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 15px #fff, 0 0 20px #B6FF00, 0 0 35px #B6FF00, 0 0 40px #B6FF00, 0 0 50px #B6FF00, 0 0 75px #B6FF00; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
eCommerce - ⚡️ Shopify ⚡️
Los links siempre destacan más cuando brillan en la oscuridad, así que en GreenGlass y en DandoLaHora me encargaré de hacerlos brillar en cada hover.
Solo agregar el código css al final del archivo principal del .scss de tu plantilla y VOILÀ!