Tsallaka zuwa abun ciki
Justice Tech School

animate

animate changes numeric CSS properties over time.

Example
$("#box").animate({ left: "200px", opacity: 0.5 }, 800, function () {
  console.log("done");
});

Exercise

Duration.

$("b").animate({ left: 5 }, )

Quiz Test

Which values can animate?

These free lessons are for learning. Join a full course for projects, mentor feedback and a verified certificate.