-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.htm
76 lines (73 loc) · 1.9 KB
/
index.htm
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
65
66
67
68
69
70
71
72
73
74
75
76
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<style>
body {
background-color: #FFC299;
}
p {
font-family: Georgia, sans-serif;
color: #482C77;
font-size: 3rem;
width: 100%;
}
.container {
display: flex;
flex-direction: column;
max-width: auto;
max-height: auto;
margin: 0 auto;
text-align: center;
padding: 20px;
}
button {
cursor: pointer;
height: auto;
width: auto;
background: #38235C;
border: none;
color: #FFC299;
font-weight: 800;
font-size: 1.2rem;
margin: 0 3px;
padding: 5px;
}
@media only screen and (max-width: 600px) {
p {
font-size: 7rem;
}
button {
font-size: 4rem;
}
}
@media only screen and (min-width: 600px) {
p {
font-size: 2.8rem;
}
button {
font-size: 2.2rem;
}
}
@media only screen and (max-height: 600px) {
p {
font-size: 9rem;
}
}
</style>
</head>
<body>
<div class="container">
<div class="info">
</div>
<div class="controls">
<button class="choice" value="rock">Rock</button>
<button class="choice" value="paper">Paper</button>
<button class="choice" value="scissors">Scissors</button>
</div>
<div class="score"></div>
</div>
<script src="script.js">
</script>
</body>
</html>