<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>04.抽奖</title>
<style>
*{
margin:0;
padding:0;
}
body{
background: black;
}
#btn{
position: absolute;
left:600px;
top:100px;
/*background-color: red;*/
font-size:80px;
color: green;
cursor: pointer;
}
#con{
width: 100%;
height: 600px;
text-align: center;
line-height: 600px;
font-size: 120px;
color: red;
}
</style>
</head>
<body>
<button id="btn">start</button>
<div id="con">某某某</div>
<script>
// 获取按钮
var btn = document.getElementById('btn');
// 获取div(名字显示区域)
点名册
最新推荐文章于 2024-05-02 02:07:24 发布