setting time of animation according to the loading speed in css code example Example: css animation linear animation-timing-function: linear;