<html>
<head>
<style>
div {
width: 100px;
height: 100px;
background: red;
position: relative;
animation: mymove 5s infinite; /* Safari 4.0 - 8.0 */
-webkit-animation-timing-function: linear; /* Safari 4.0 - 8.0 */
animation: mymove 5s infinite;
animation-timing-function: linear;
}
/* Safari 4.0 - 8.0 */
@-webkit-keyframes mymove {
from {left: 0px;}
to {left: 200px;}
}
@keyframes mymove {
from {left: 0px;}
to {left: 200px;}
}
</style>
</head>
<body>
<h1>The animation-timing-function Property</h1>
<p>Play an animation with the same speed from beginning to end:</p>
<div></div>
<p><strong>Note:</strong> The animation-timing-function property is not supported in Internet Explorer 9 and earlier versions.</p>
</body>
<!-- Mirrored from www.w3schools.com/cssref/tryit.asp?filename=trycss3_animation-timing-function by HTTrack Website Copier/3.x [XR&CO'2014], Wed, 05 Jun 2019 13:59:11 GMT -->
</html>