In the link provided I want the bottom div to transition nicely to the top instead of just jumping to the spot when the first div is hidden. Is there any nice and quick way to do this with css or some kind of library (I checked isotope
but it doesn't seem to do what I want.)
Asked
Active
Viewed 42 times
0

inControl
- 2,215
- 4
- 24
- 39
-
check this http://jsfiddle.net/ykF3g/1/ – It worked yesterday. Mar 18 '14 at 18:33
2 Answers
5
You're using jQuery already, use it's animations...
$("div:first-child").slideUp(2000);

Populus
- 7,470
- 3
- 38
- 54
0
how to make div slide from right to left
This should do the trick. It involves the usage of JQuery, but that isn't very hard to use.
Also, instead of sliding to the left or right, you code it so it slides to the top.