Last active
January 12, 2019 01:28
-
-
Save anthuanvasquez/2157135 to your computer and use it in GitHub Desktop.
Con este código, cuando pasas el cursor por encima del enlace de una lista, cada enlace se mueve un poco a la derecha. Realizado enteramente con CSS sin necesidad de jQuery.
This file contains hidden or 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
| #animateList li a { | |
| cursor: pointer; | |
| -webkit-transition: padding-left 250ms ease-out; | |
| transition: padding-left 250ms ease-out; | |
| } | |
| #animateList li a:hover { | |
| padding-left: 10px; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment