-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
90 lines (87 loc) · 2.67 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Main</title>
<style>
body {
font-family: "Lato", sans-serif;
text-align: center;
background-color: #fafafa;
}
h1 {
font-size: 48px;
margin-bottom: 20px;
}
.card {
display: inline-block;
margin: 20px;
width: 250px;
padding: 20px;
background-color: #f2f26d;
border-radius: 10px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
transition: all .3s ease-in-out;
}
.card:hover {
transform: scale(1.1);
}
.card a {
text-decoration: none;
color: #333;
}
.card h2 {
margin-top: 0;
}
.container {
max-width: 800px;
margin: 40px auto;
padding: 20px;
background-color: #ffc7c7;
border-radius: 10px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
.cardproject .imgageLinecolor {
visibility: hidden;
/* Position the tooltip */
position: absolute;
z-index: 1;
left: 100%;
bottom:-90px ;
}
.cardproject:hover .imgageLinecolor {
visibility: visible;
background-color: azure;
}
a {
color: black;
}
</style>
</head>
<body>
<div class="container">
<h1>Main Page</h1>
<p>This is Frist page created by Codeium AI</p>
<div class="card">
<h2>Project1</h2>
<a href="MyProject/Project1/registerfrom.html">View Project</a>
</div>
<div class="card">
<h2>Project2</h2>
<a href="MyProject/Project2/index.html">View Project</a>
</div>
</div>
<div class="container">
<h1>Home Work</h1>
<a href="MyProject\HomeWork By jara\LineColor.html">
<div class="card cardproject">
<span class="imgageLinecolor">ตัวอย่างงานที่ต้องทำ
<img width="500" height="400" src="https://media.discordapp.net/attachments/994983764725858444/1280854770181079070/part1-finished-look.png?ex=66fdd9b6&is=66fc8836&hm=cc90e92a0a43a40aca153280b37dbe408de3f5859f3f4fa272e90ad68f09841c&=&format=webp&quality=lossless&width=1123&height=662" alt=""></span>
<h2>Flex</h2>
<i>View Project</i>
</div>
</a>
</div>
</body>
</html>