Beyond Static: CSS Animation
Sobre a Aula

Complex and interactive animations

In this topic, we’ll delve into advanced animations, making them interactive and visually engaging. By using keyframes, create complex and dynamic movements with ease.

We’ll start by applying simple transformations. For instance, by using the scale property, we can smoothly enlarge an element over time:

@keyframes scale {
  0% { transform: scale(1); }
  50% { transform: scale(1.5); }
  100% { transform: scale(1); }
}

.element {
  animation: scale 3s infinite;
}

Next, we will explore the combination of multiple keyframes to create complex transitions.

Entrar na conversa
Rolar para cima