##JavaScript实现像素鸟游戏
<!DOCTYPE html>
<html>
<head>
<script src="jquery-3.4.1.min.js"></script>
<meta charset="utf-8">
<title></title>
<style>
#bg{
width: 400px;
height: 500px;
background: url(image/bj.jpg);
position:relative;
margin: 10px auto;
}
#bird{
width: 40px;
height: 28px;
background: url(image/bird.jpg) ;
background-position:0 -28px;
position:absolute;
top: 50%;
left:150px;
}
#over{
width: 100px;
height: 60px;
position:absolute;
top: 50%;
left: 50%;
margin-left: -50px ;
margin-top: -30px;
background-color:ghostwhite;
line-height: 30px;
display: none;