To my surprise, I couldn't find an answer after quite a bit of searching. I'm using simple Javascript to help you see what I am trying to accomplish, but if this can be done using CSS, I'd be happy to try that out too. Also, please remember, I need this for colors, not images.
<head>
<link rel="stylesheet" type="text/css" href="bground.css">
</head>
<body>
<div id='a' class="circle" onclick="myFunction()"> <br> <br> Click me for blue. </div>
<br>
<script>
function myFunction() {
document.body.style.backgroundColor="blue";}
</script>
</body>
In essence, I want the click of a button to change the background slowly, like as in a fade or transition effect, but I've had a lot of difficulty the past two days.