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