HTML Editor
<!DOCTYPE html> <html lang="en-US"> <head> <style> div{ width: 100px; height: 100px; border: 1px solid #000; line-height: 6; text-align: center; animation: myAnimation 1s infinite; -webkit-animation: myAnimation 1s infinite; /* Safari 4.0 - 8.0 */ -webkit-animation-play-state: paused; /* Safari 4.0 - 8.0 */ animation-play-state: paused; } @-webkit-keyframes myAnimation { from {border-radius: 0%;} to {border-radius: 50%;} } @keyframes myAnimation { from {border-radius: 0%;} to {border-radius: 50%;} } </style> </head> <body> <h1>CSS animation-play-state Property</h1> <div> Div </div> <p><strong>Note</strong>: 'animation-play-state' is in pause mode. So, animation won't run.</p> </body> </html>
OUTPUT
×

Save as Private