Web.QHMIT
.com
Toggle navigation
☰
Home
HTML
CSS
Scripting
Database
Run
<!DOCTYPE html> <title>Example</title> <style> .animatedBox { width: 300px; height: 100px; text-align: center; font: 24px/40px sans-serif; color: white; background: skyblue url('/pix/samples/albatross.png') no-repeat bottom center / 80%; animation: myAnimation 3s ease 1s 3 alternate forwards; } @keyframes myAnimation { 100% { height: 300px; } } </style> <div class="animatedBox">Royal Albatross</div>
Preview