Toggle navigation
☰
Home
HTML
CSS
Scripting
Database
<!DOCTYPE html> <title>Example</title> <style> .animatedBox { width: 200px; padding: 5px; text-align: center; font: 24px sans-serif; color: white; background: yellowgreen; animation: myAnimation 1s ease 1s 5 alternate forwards; } @keyframes myAnimation { 100% { padding: 50px; } } </style> <div class="animatedBox">Animated box</div>