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