In a div I have a two same size images full it,
<img id="second image">
<img id="first image">
the effect is :
1.the already showed image(first image) collapse with bottom fixed,the second image roll down with top fixed
2.then I insert first image before second image in code,with css position changed,just like above
the first step done well,but the second step doesn’t work
please help me ,thank you
Here is an update for what you want, hope this works as you exactly want:
also add this to css