My website features a div element with an animation that gives the illusion of it being flipped over.
<div id="wrapper">
<div id="content">
Some content
</div>
</div>
To achieve this effect, I use the jQuery plugin transit to rotate the "wrapper" div by applying the CSS rule;
transform: rotateY(180deg);
During the rotation, when the div reaches rotateY(90deg)
, new content is loaded into the #content
div. This process happens quickly, but during the animation, the div momentarily disappears or becomes hidden.
VIEW DEMO FIDDLE (Note that the actual content loading is not included in the demo)
I am looking for a way to prevent the entire div from disappearing completely at rotateY(90)
.
Unfortunately, since the HTML is dynamically generated, I do not have control over it.