CSS Transition Issue
I'm using a css transition to show and hide text via a button.
For some reason though on the show transition in pauses for about a second before it shows the rest of the content.
Any idea why that is?
You can view the problem here: http://jsfiddle.net/Rd9h2/3/
For margins and paddings, percentages are all relative to the width. It might seem very counter-intuitive, but that's the way it works. Lol.
As a result, let's take a look at this.
Anyway, when you click "Show", the padding immediately shows. That's where you get the immediate red box. Then, you have to wait for the actual div to fall down all the way from the top. That's the delay.
Ahh, I see now. Thanks!
|All times are GMT +1. The time now is 04:31 PM.|
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.