I need to make a smooth nice transition to show/hide a text depending if the top element have a class “error” or not.
But i really cant get this to work.
http://jsfiddle.net/qd9wq/1/
Would really appreciate any kind of help.
I’ve got my idea from http://fvsch.com/code/transition-fade/test5.html#test3.
But i dont want to use 2 kind of classes.
Edit: Solved problem: http://jsfiddle.net/qd9wq/78/
You need to add a
transition-delayto this class:Try it here
You can also remove all the
!important, they are not needed.