The animate() method performs a custom animation of a set of CSS properties. With the help of this example we can make the modification on the <div> element as per our requirement.
<div>