2020-8-21 动物赛跑 优化版 (跑道 背景色)
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title></title>
<!-- <link rel="stylesheet" href="css/mystyle.css" /> -->
<!-- <script type="text/javascript" src="js/myjs1.js" ></script> -->
<style>
#map {
width: 1000px;
height: 600px;
position: absolute;
left: 200px;
top: 100px;
border: solid 1px #ecd713;
text-align: center;
}
#paodao {
width: 1000px;
height: 500px;
position: absolute;
left: 200px;
top: 200px;
border: solid 1px #ecd713;
text-align: center;
/* background:url(2.png); */
background: linear-gradient(#51B0E7 70%, #90E090 30%);
background-position: 200px 400px;
/* background-size:400px 300px; */
/* background-repeat: no-repeat; */
background-size: 20% 50px;
}
img {
display: none;
position: absolute;
width: 32px;
height: 32px;
}
body{
background-color: #f1efd7;
}
</style>
</head>
<body>
<p> <img src="2.png" alt="Flowers" width="224" height="162"></p>
<div id='map'>
<input type="button" value="开始" onclick="start()" />
<input type="button" value="暂停" onclick="stop()" />
<input type="button" value="继续" onclick="restart()" />
</