Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Challenge: Adding Animation | Animations
Advanced CSS Techniques
course content

Contenido del Curso

Advanced CSS Techniques

Advanced CSS Techniques

1. Introduction
2. Item Positioning
3. Transitions
4. Animations
5. Transformations
6. Adaptive/responsive websites and apps
7. Preprocessors

bookChallenge: Adding Animation

Task

Enhance the visual appeal of the authorization form by adding an animation to the "Log in" button. Follow these steps:

  1. Specify the correct value for the animation-name property, using the preset state changes defined in the @keyframes rule with the name colorChange.
  2. Set the time function to linear to ensure a consistent speed throughout the animation.
  3. Define a duration for the animation to last 6000ms.
  4. Configure the animation to repeat infinite times for a continuous effect.
html

index

css

index

js

index

copy
  1. Assign the name of the @keyframes rule as the value for the animation-name property.
  2. Specify linear as the value for the animation-timing-function property to ensure a consistent speed.
  3. Set the animation-duration property to 6000ms to determine the duration of the animation.
  4. Use infinite as the value for the animation-iteration-count property to repeat the animation indefinitely.
html

index

css

index

js

index

copy

¿Todo estuvo claro?

¿Cómo podemos mejorarlo?

¡Gracias por tus comentarios!

Sección 4. Capítulo 6
We're sorry to hear that something went wrong. What happened?
some-alt