Prompt:
Create a fade-in animation using HTML, CSS, and JS. Use ___ duration, ___ delay, and ___ easing function. The animation should trigger when the element enters the viewport.
Example:
Create a fade-in animation using HTML, CSS, and JS. Use 1s duration, 0.2s delay, and ease-in-out easing function. The animation should trigger when the element enters the viewport.
Slide-in Animation Prompt
Prompt:
Create a slide-in animation using HTML, CSS, and JS. Use ___ direction, ___ distance, and ___ trigger event. The animation should be smooth and work on both desktop and mobile.
Example:
Create a slide-in animation using HTML, CSS, and JS. Use left-to-right direction, 50px distance, and scroll trigger event. The animation should be smooth and work on both desktop and mobile.
Button Hover Animation Prompt
Prompt:
Create a button hover animation using HTML, CSS, and JS. Use ___ color transition, ___ scale effect, and ___ icon animation. The animation should be accessible and have a fallback for reduced motion.
Example:
Create a button hover animation using HTML, CSS, and JS. Use gradient color transition, scale-up effect, and spin icon animation. The animation should be accessible and have a fallback for reduced motion.