keyframes run according to the rules set in css code example Example: css keyframes @keyframes mymove { from {top: 0px;} to {top: 200px;} }