Animations CSS modernes

A Propos du Tutoriel

Donnez vie à vos interfaces avec des animations CSS fluides.

Transitions

.button {
  background: blue;
  transition: all 0.3s ease;
}

.button:hover {
  background: darkblue;
  transform: scale(1.05);
}

Keyframes

@keyframes slideIn {
  from {
    transform: translateX(-100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.element {
  animation: slideIn 0.5s ease-out;
}

2 Commentaires


Logo de Gcassinis

Super Tutoriel

J'ai adoré, c'est très bien expliqué.

Publié par Gcassinis Le 20/01/1970 à 14:04:51
Logo de Gcassinis

Super Tutoriel

J'ai adoré, c'est très bien expliqué.

Publié par Gcassinis Le 20/01/1970 à 14:04:51
Publié il y a 4 jours

Technologies utilisées