0

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.)

jsFiddle

inControl
  • 2,215
  • 4
  • 24
  • 39

2 Answers2

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.

Community
  • 1
  • 1
JordyV
  • 389
  • 3
  • 12