CodeLab
Tutorials For Everyone
Run
<!DOCTYPE html> <html> <head> <style> #container { color: #fff; background: #333; box-shadow: 0 0 10px 0 #aaa; display: inline-block; min-inline-size: 50px; animation: anim 5s infinite; } @keyframes anim { 50% {min-inline-size: 300px;} } </style> </head> <body> <h1>Animatable 'min-inline-size' Property</h1> <hr> <p>Experience the changing min-inline-size of the Container.</p> <div id="container">Lorem ipsum dolar ist.</div> </body> </html>