school44s commited on
Commit
dd8f677
·
verified ·
1 Parent(s): fc22168

Update contact.html

Browse files
Files changed (1) hide show
  1. contact.html +30 -4
contact.html CHANGED
@@ -3,6 +3,8 @@
3
  <head>
4
  <meta charset="UTF-8">
5
  <title>Liên hệ</title>
 
 
6
  <style>
7
  body {
8
  margin: 0;
@@ -19,6 +21,13 @@
19
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
20
  border: 3px solid white;
21
  background: url('3.png') center/cover no-repeat;
 
 
 
 
 
 
 
22
  }
23
  .overlay-box {
24
  width: 60%;
@@ -27,21 +36,38 @@
27
  background: rgba(0,0,0,0.5); /* khung mờ */
28
  border-radius: 10px;
29
  text-align: center;
 
 
 
30
  }
31
  .overlay-box h2 {
32
  margin-bottom: 20px;
33
  }
34
  .links a {
35
  display: block;
36
- margin: 10px 0;
37
  text-decoration: none;
38
  color: #fff;
39
  font-size: 18px;
40
  transition: 0.3s;
41
  }
 
 
 
 
42
  .links a:hover {
43
  color: #4CAF50;
44
  }
 
 
 
 
 
 
 
 
 
 
45
  </style>
46
  </head>
47
  <body>
@@ -49,9 +75,9 @@
49
  <div class="overlay-box">
50
  <h2>Thông tin liên kết</h2>
51
  <div class="links">
52
- <a href="https://www.facebook.com/myplaytimes4" target="_blank">Facebook</a>
53
- <a href="mailto:youremail@example.com">Email</a>
54
- <a href="https://www.instagram.com/yourprofile" target="_blank">Instagram</a>
55
  </div>
56
  </div>
57
  </body>
 
3
  <head>
4
  <meta charset="UTF-8">
5
  <title>Liên hệ</title>
6
+ <!-- Link Font Awesome để dùng icon -->
7
+ <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css">
8
  <style>
9
  body {
10
  margin: 0;
 
21
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
22
  border: 3px solid white;
23
  background: url('3.png') center/cover no-repeat;
24
+ opacity: 0;
25
+ animation: fadeIn 2s ease forwards;
26
+ transition: box-shadow 0.4s ease, transform 0.4s ease;
27
+ }
28
+ .avatar:hover {
29
+ box-shadow: 0 0 25px rgba(255,255,255,0.9);
30
+ transform: scale(1.05);
31
  }
32
  .overlay-box {
33
  width: 60%;
 
36
  background: rgba(0,0,0,0.5); /* khung mờ */
37
  border-radius: 10px;
38
  text-align: center;
39
+ opacity: 0;
40
+ animation: fadeIn 2s ease forwards;
41
+ animation-delay: 1s; /* xuất hiện sau avatar */
42
  }
43
  .overlay-box h2 {
44
  margin-bottom: 20px;
45
  }
46
  .links a {
47
  display: block;
48
+ margin: 12px 0;
49
  text-decoration: none;
50
  color: #fff;
51
  font-size: 18px;
52
  transition: 0.3s;
53
  }
54
+ .links a i {
55
+ margin-right: 8px;
56
+ transition: color 0.3s, text-shadow 0.3s;
57
+ }
58
  .links a:hover {
59
  color: #4CAF50;
60
  }
61
+ .links a:hover i {
62
+ color: #4CAF50;
63
+ text-shadow: 0 0 8px rgba(76,175,80,0.8);
64
+ }
65
+
66
+ /* Hiệu ứng fade-in */
67
+ @keyframes fadeIn {
68
+ from { opacity: 0; transform: translateY(20px); }
69
+ to { opacity: 1; transform: translateY(0); }
70
+ }
71
  </style>
72
  </head>
73
  <body>
 
75
  <div class="overlay-box">
76
  <h2>Thông tin liên kết</h2>
77
  <div class="links">
78
+ <a href="https://www.facebook.com/myplaytimes4" target="_blank"><i class="fab fa-facebook"></i>Facebook</a>
79
+ <a href="mailto:youremail@example.com"><i class="fas fa-envelope"></i>Email</a>
80
+ <a href="https://www.instagram.com/yourprofile" target="_blank"><i class="fab fa-instagram"></i>Instagram</a>
81
  </div>
82
  </div>
83
  </body>