-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
64 lines (57 loc) · 2.25 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
<!DOCTYPE html>
<html lang="kr">
<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">
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous">
<script src="https://code.jquery.com/jquery-3.6.0.min.js" integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4=" crossorigin="anonymous"></script>
<script src="./function.js"></script>
<title>선물교환</title>
</head>
<body>
<div class="my-5 text-center">
<div id="board">
<img id="startIMG" class="d-block mx-auto" src="./asset/santa-claus.png" height="200px">
</div>
<h1 class="fw-bold" style="margin-top: 20px;">성탄절 선물교환!</h1>
<div class="col-lg-6 mx-auto">
<p class="lead mb-2">한바퀴 반복으로 진행하고 그 다음 부터는 랜덤으로 진행합니다</p>
<p>주의사항 : 절대(enter)빈칸은 넣지마세요.</p>
<textarea id= "inputName" class="form-control" placeholder="이름(enter)로 구분합니다"></textarea>
<div class="d-grid gap-2 d-sm-flex justify-content-sm-center">
<button type="button" class="btn btn-primary btn-lg px-4 gap-3" onclick="playGame()">Play</button>
<button type="button" class="btn btn-outline-secondary btn-lg" onclick="before()">before</button>
</div>
</div>
<div id="log">
지금 까지 나온 인원 <br>
</div>
</div>
</body>
<style>
body {
background-image: url(./asset/christmas.jpg);
}
#inputName {
height: 10%;
margin-bottom: 2%;
resize: none;
}
#winning {
display: inline-block;
width: 400px;
height: 200px;
border: 10px solid red;
background-color: whitesmoke;
opacity: 80%;
font-size: 60px;
font-weight: bold;
line-height: 180px;
}
#log {
color: green;
font-weight: bold;
}
</style>
</html>