YUI recommends YUI 3.

YUI 2 has been deprecated since 2011. This site acts as an archive for files and documentation.

Using Custom Units for an Animation

This demonstrates how to use YUI Animation with units other than pixels. Click the button to begin the demo.

Demo