Andrew Poulos
5/12/2015 11:07:00 AM
On 12/05/2015 4:04 PM, Thomas 'PointedEars' Lahn wrote:
> Andrew Poulos wrote:
>
>> I have 2 overlapping elements that are not contained in the same parent
>> element and I want to apply a transition (say, a wipe on to the right).
>> How can I get the right-most element to "wait" for the wipe of the left
>> element to catch up to it before it start its wipe?
>
> transition-delay. There does not appear to be script-related content in
> this question.
Sorry, I'm not using CSS3 transitions but I'm intending to write the
transition myself. The ones I've found online tend to use some sort of
timed loop that changes the style of the element and I'm concerned about
the work required to track what position each element is and when the
transition had "reached" the position of the overlapping element.
Add to this that the transition should apply smoothly across both
elements (I don't want a smaller element racing a head of the larger
one) and I'm at a loss as to how to proceed.
Andrew Poulos