CodeLab
Tutorials For Everyone
Run
<!DOCTYPE html> <html> <head> <style> #container { display: inline: block; border: 2px solid #00f; animation: anim 5s infinite; margin: auto; padding: 0 20px; box-shadow: 0 0 10px 0 #ddd; } @keyframes anim { 50% {columns: 100px 3;} } </style> </head> <body> <h1>Animatable 'columns' Property</h1> <hr> <p>Experience the changing width and size of the columns of the paragraph of the container using columns property.<p> <div id="container"> Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. </div> <p><b>Note:</b> Edge does not support animation on the column-width property.</p> </body> </html>