HTML CSS examples for CSS Animation:Speed
CSS3 animation speed after hover
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> #image {<!-- w w w. j av a 2s .c om--> width:400px; height:400px; background-image:url('https://www.java2s.com/style/demo/Safari.png'); background-size:150%; background-position:left center; transition:5s linear; -moz-transition:2s linear; -webkit-transition:2s linear; } #image:hover { background-position:right center; } </style> </head> <body> <div id="image"></div> </body> </html>