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, duration hours minute second in high quality that is uploaded to the channel Stral Tech 01 February 2021. Share the link to the video on social media so that your subscribers and friends will also watch this video. This video clip has been viewed 146 times and liked it 1 visitors.