Here, the offset shorthand property is used to set property values for offset-path and offset-distance. The path for the animation is set and the fish starts moving at a 150 pixels distance from the start of the path.