Created
August 9, 2013 14:39
-
-
Save darkwing/6194124 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.item | |
transition-delay 4s | |
.expanded .item | |
transition-delay 0 | |
/* | |
When I add the "expanded" class to the parent, the item transition should happen immediately | |
When I remove the "expanded" class from the parent, the item should wait 4s and then transition | |
Am I incorrect here? | |
*/ |
This bin seems to behave the way you assume it would: http://jsbin.com/abawik/4/edit
Your version seems to work for me.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
did you try inverting the method, not sure if it'll make a difference, but it might.