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