garciasanchezdaniel Posted March 9, 2012 Share Posted March 9, 2012 Hello friends, I'm fighting with animations, and I don't obtain that I want I have two divs, and this is the css code for these two divs: @-webkit-keyframes div1{from { opacity: 0.0; font-size: 100%;}to { opacity: 1.0; font-size: 100%;}} #div1{ -webkit-animation-name: div1; -webkit-animation-duration: 10s; -webkit-animation-iteration-count: infinite; -webkit-animation-timing-function: ease-in-out; -webkit-animation-direction: alternate;} @-webkit-keyframes div2{from { opacity: 0.0; font-size: 100%;}to { opacity: 1.0; font-size: 100%;}}#div2{ -webkit-animation-name: div2; -webkit-animation-duration: 10s; -webkit-animation-iteration-count: infinite; -webkit-animation-timing-function: ease-in-out; -webkit-animation-direction: alternate; -webkit-animation-delay:18s;} As you see, I make that 'div2' waits 18 seconds in order to 'div1' ends its animation....and after this, 'div1' will wait same time until 'div2' ends its animation I don't know if I explain well.....I want that each 18 seconds approximate, only one div will be displayed.......but I don't obtain do this, because both divs end overlayed Thanks in advance, Daniel Link to comment Share on other sites More sharing options...
thescientist Posted March 9, 2012 Share Posted March 9, 2012 I don't see a delay on div1. maybe JS might be a better way to handle this. Link to comment Share on other sites More sharing options...
garciasanchezdaniel Posted March 9, 2012 Author Share Posted March 9, 2012 I don't see a delay on div1. maybe JS might be a better way to handle this. Is not possible only with css?Thanks for your help, Daniel Link to comment Share on other sites More sharing options...
amitamberker Posted March 9, 2012 Share Posted March 9, 2012 Hi garciasanchezdaniel,Could you please post (submit) your HTML Code? Link to comment Share on other sites More sharing options...
garciasanchezdaniel Posted March 9, 2012 Author Share Posted March 9, 2012 Hi creative 1977, of course! :good:This is the part of html code: ... <div id="div1"> <jdoc:include type="module" name="custom_module1"/></div><div id="div2"> <jdoc:include type="module" name="custom_module2"/></div>... Best regards, Daniel Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.