Skip to content

Instantly share code, notes, and snippets.

@anthuanvasquez
Last active January 12, 2019 01:28
Show Gist options
  • Select an option

  • Save anthuanvasquez/2157135 to your computer and use it in GitHub Desktop.

Select an option

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.
#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