We'll take advantage of CSS-P to get the job done. The left and top properties of the inner elements are measured in relation to the parent element. We set their position property to absolute so they are positioned at the specified coordinates, relative to the left top corner of the window. The relative value positions the element with respect to the normal document flow. However, we cannot use it to animate a nested element.
Explorer exposes all elements as properties of the document.all object, regardless of their level.
Navigator, on the other hand, utilizes a hierarchical structure, where a nested element is reflected as a property of its parent's document object. Back to the animation function itself. Inc. Legal Notices .