Applied Visual Design (42/52) | Modify Fill Mode of an Animation | freeCodeCamp

Published: 01 February 2021
on channel: Stral Tech
146
1

Applied Visual Design (42/52) | Modify Fill Mode of an Animation | freeCodeCamp

Full playlist 👉    • Applied Visual Design (1/52) | Create...  

Responsive Web Design Certification - Modify Fill Mode of an Animation

That's great, but it doesn't work right yet. Notice how the animation resets after 500ms has passed, causing the button to revert back to the original color. You want the button to stay highlighted. This can be done by setting the animation-fill-mode property to forwards. The animation-fill-mode specifies the style applied to an element when the animation has finished. You can set it like so: animation-fill-mode: forwards; Set the animation-fill-mode property of button:hover to forwards so the button stays highlighted when a user hovers over it.

https://www.freecodecamp.org/learn/re...


Watch video Applied Visual Design (42/52) | Modify Fill Mode of an Animation | freeCodeCamp online without registration, duration hours minute second in high quality. This video was added by user Stral Tech 01 February 2021, don't forget to share it with your friends and acquaintances, it has been viewed on our site 146 once and liked it 1 people.