Enter Animations

πŸ‘¨β€πŸ’Ό Make the logo, h1 and paragraph fade in and slide from the bottom when the page loads.

Keyframes definition

🐨 Create a slide-up keyframes definition in the . It should:
  • start at 0% opacity and translated down (Y axis) by 20px
  • end up at 100% opacity and back to its normal position.

Animation utilities

🐨 Create a slide-up animation in the Tailwind config. It should:
  • use the slide-up keyframes
  • animate over a duration of 0.3s
  • use the ease-out timing function

Animating elements

🐨 Animate the logo, h1 and paragraph using the new slide-up animation utilities you have just created.

Animation delay

πŸ‘¨β€πŸ’Ό The logo should start animating immediately when the page loads.
πŸ‘¨β€πŸ’Ό The h1 tag should wait 0.3s before starting to animate.
πŸ‘¨β€πŸ’Ό The paragraph should wait 0.8s before starting to animate.
πŸ¦‰ You might notice your delayed animations look wonky. The elements show up in their final position until the delay occurs, and then they go through the slide-up animation. You should look into the πŸ“œ animation-fill-mode CSS property to work around that β€”Β it can be defined directly in the animation in the Tailwind theme.
πŸ‘¨β€πŸ’Ό You got this! Remember,Β you'll be considered a hero to the eyes of the design team if you can pull this off πŸ’«

Access Denied

You must login or register for the workshop to view and run the tests.

Check out this video to see how the test tab works.