 Challenge: Implement CSS Animation
Challenge: Implement CSS Animation
Task
Enhance the visual appeal of the authorization form by adding an animation to the "Log in" button. Follow these steps:
- Specify the correct value for the animation-nameproperty, using the preset state changes defined in the@keyframesrule with the namecolorChange.
- Set the time function to linearto ensure a consistent speed throughout the animation.
- Define a duration for the animation to last 6000ms.
- Configure the animation to repeat infinitetimes for a continuous effect.
index.html
index.css
- Assign the name of the @keyframesrule as the value for theanimation-nameproperty.
- Specify linearas the value for theanimation-timing-functionproperty to ensure a consistent speed.
- Set the animation-durationproperty to6000msto determine the duration of the animation.
- Use infiniteas the value for theanimation-iteration-countproperty to repeat the animation indefinitely.
index.html
index.css
Everything was clear?
Thanks for your feedback!
SectionΒ 4. ChapterΒ 6
Ask AI
Ask AI
Ask anything or try one of the suggested questions to begin our chat
Suggested prompts:
What should the CSS code look like for the "Log in" button animation?
Can you explain how the @keyframes rule named colorChange should be defined?
Where exactly should I add these animation properties in my CSS?
Awesome!
Completion rate improved to 2.04 Challenge: Implement CSS Animation
Challenge: Implement CSS Animation
Swipe to show menu
Task
Enhance the visual appeal of the authorization form by adding an animation to the "Log in" button. Follow these steps:
- Specify the correct value for the animation-nameproperty, using the preset state changes defined in the@keyframesrule with the namecolorChange.
- Set the time function to linearto ensure a consistent speed throughout the animation.
- Define a duration for the animation to last 6000ms.
- Configure the animation to repeat infinitetimes for a continuous effect.
index.html
index.css
- Assign the name of the @keyframesrule as the value for theanimation-nameproperty.
- Specify linearas the value for theanimation-timing-functionproperty to ensure a consistent speed.
- Set the animation-durationproperty to6000msto determine the duration of the animation.
- Use infiniteas the value for theanimation-iteration-countproperty to repeat the animation indefinitely.
index.html
index.css
Everything was clear?
Thanks for your feedback!
SectionΒ 4. ChapterΒ 6