Create a simple animation to change the background color of a div.
EasyProblem Statement
Create a simple animation to change the background color of a div.
Sample Input
A webpage with a <div> element.
Sample Output
The div's background color changes gradually.
Limits
Time: 2s · Memory: 256 MB
Code Editor
00:00
<!DOCTYPE html>
<html>
<head>
<style>
/* Add CSS here to create the animation */
</style>
</head>
<body>
<div class="animated-div">Content inside the div</div>
</body>
</html>
Input
A webpage with a <div> element.
Expected Output
The div's background color changes gradually.