Repository navigation
Expand file tree
/
Copy pathindex.html
More file actions
59 lines (59 loc) · 1.51 KB
/
Copy pathindex.html
File metadata and controls
59 lines (59 loc) · 1.51 KB
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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>T-Color</title>
<style>
#text1{
position: fixed;
top: 20%;
left: 50%;
transform: translateX(-50%);
font-size: 60px;
transition: color 0.5s ease;
}
#text1:hover{
color: blue;
}
#btn1{
position: fixed;
top: 70%;
left: 50%;
transform: translateX(-50%);
width: 12%;
height: 4%;
border-radius: 10px;
border: none;
background-color: black;
color: white;
font-size: 20px;
transition: background-color 0.5s ease;
}
#btn1:hover{
background-color: blue;
}
#btn2{
position: fixed;
top: 10%;
left: 50%;
transform: translateX(-50%);
width: 50%;
height: 3%;
border-radius: 10px;
border: none;
background-color: black;
color: white;
font-size: 20px;
transition: background-color 0.5s ease;
}
#btn2:hover{
background-color: blue;
}
</style>
</head>
<body>
<h1 id="text1">T-Color</h1>
<button id="btn1" onclick="window.location.href='Page1.html'">开始</button>
<button id="btn2">t-color.github.io</button>
</body>
</html>