In this recipe, we will animate an element changing color. We will change the background color of the
div element from blue to green.
Here, we can see the key steps in this animation by looking at a selection of frames:
We begin by creating a PHP page to set up a basic Moodle programming environment. In this case,
anim_color.php, with the following content:
<?php require_once(dirname(__FILE__) . '/../config.php'); ...