<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>随机点名</title>
<style>
div {
width: 200px;
height: 60px;
border: 5px solid rgb(126, 123, 120);
background-color: skyblue;
text-align: center;
line-height: 60px;
margin: 0 auto;
}
button {
width: 210px;
height: 30px;
text-align: center;
line-height: 30px;
}
p{
text-align: center;
}
</style>
</head>
<body>
<div>开始点名!</div>
<p><button>随机点名</button&g
js课堂案例 实现动态随机点名的效果
最新推荐文章于 2023-08-04 11:46:29 发布