4.7_将图像淡入至canvas
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>将图像淡入至canvas</title>
<style>
body{
background: #eee;
}
#canvas{
background: #fff;
cursor: pointer;
margin-left: 20px;
margin-top: 50px;
box-shadow: 4px 4px 8px rgba(0,0,