Web.QHMIT
.com
Toggle navigation
☰
Home
HTML
CSS
Scripting
Database
Run
<!DOCTYPE html> <title>Example</title> <style> .animatedBox { max-height: 0px; overflow: hidden; animation: myAnimation 2s ease 1s 3 alternate forwards; } @keyframes myAnimation { 100% { max-height: 300px; } } </style> <div class="animatedBox"> <img src="/pix/samples/15m.jpg" alt="Photo of longtail boat in Thailand"> </div>
Preview