infinite could be only used with animations. However, you could use animation with a vast number of properties. Beware that animating some properties like width and height could affect the performance of your interface as it triggers a lot of rendering processes and calculations. Read more about it here: html5rocks.com/en/tutorials/speed/....
infinite
could be only used with animations. However, you could use animation with a vast number of properties. Beware that animating some properties likewidth
andheight
could affect the performance of your interface as it triggers a lot of rendering processes and calculations. Read more about it here: html5rocks.com/en/tutorials/speed/....It can be used on any animation, but it doesn't mean infinite height or width. It means "keep running the animation an infinite number of times."