scroll is a timeline function and needs parentheses.
Acceptance criteria
- 1.scroll is a timeline function and needs parentheses.
scroll is a timeline function and needs parentheses.
body { margin: 0; padding: 28px; font-family: system-ui, sans-serif; background: #f8fafc; color: #0f172a; } @keyframes fade { from { opacity: 0; } to { opacity: 1; } } #box { animation-name: fade; animation-timeline: scroll; }
Output ready when you are
Press Run to render your code, or Submit to validate your solution.