Skip to content

Commit 74dcb9e

Browse files
add project omacha
1 parent 79163ee commit 74dcb9e

File tree

5 files changed

+619
-42
lines changed

5 files changed

+619
-42
lines changed

brickshop.html

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,14 @@
1111
<title>Dự án: BrickShop - Trần Hữu Đạt</title>
1212
<!-- Favicon-->
1313
<link rel="icon" type="image/png" href="assets/favicon.png" />
14-
<!-- Custom Google font-->
14+
<!-- Fonts và Icons -->
1515
<link rel="preconnect" href="https://fonts.googleapis.com" />
1616
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
1717
<link
1818
href="https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@100;200;300;400;500;600;700;800;900&display=swap"
1919
rel="stylesheet" />
20-
<!-- Bootstrap icons-->
2120
<link href="https://cdn.jsdelivr.net/npm/[email protected]/font/bootstrap-icons.css" rel="stylesheet" />
22-
<!-- Core theme CSS (includes Bootstrap)-->
21+
<!-- Core CSS -->
2322
<link href="css/styles.css" rel="stylesheet" />
2423
<link href="css/github.css" rel="stylesheet" />
2524

css/animation.css

Lines changed: 64 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,17 @@
77
box-sizing: border-box;
88
}
99

10-
body {
10+
/* body {
1111
font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
12-
/* background: linear-gradient(135deg,
12+
background: linear-gradient(135deg,
1313
#ff9a9e 0%,
1414
#fecfef 15%,
1515
#ffecd2 30%,
1616
#fcb69f 45%,
1717
#ff6b6b 60%,
1818
#ee5a52 75%,
1919
#d63384 90%,
20-
#b91c1c 100%); */
20+
#b91c1c 100%); */
2121

2222
/* Hiệu ứng nền Gradient chính */
2323

@@ -26,44 +26,46 @@ body {
2626

2727
/* background: linear-gradient(135deg, #1e30f3 0%, #e21e80 100%); */
2828

29-
background: linear-gradient(125deg,
29+
/* background: linear-gradient(125deg,
3030
#ff6b6b,
31-
/* Đỏ hồng */
31+
/* Đỏ hồng
3232
#ff9a8b,
33-
/* Cam nhạt */
33+
/* Cam nhạt
3434
#fecfef,
35-
/* Hồng phấn */
35+
/* Hồng phấn
3636
#ffda07,
37-
/* Vàng */
37+
/* Vàng
3838
#a8e6cf,
39-
/* Xanh bạc hà */
39+
/* Xanh bạc hà
4040
#23d5ab,
41-
/* Xanh lá cây sáng */
41+
/* Xanh lá cây sáng
4242
#23a6d5,
43-
/* Xanh dương */
43+
/* Xanh dương
4444
#a1c4fd,
45-
/* Xanh da trời nhạt */
45+
/* Xanh da trời nhạt
4646
#c6a9e8,
47-
/* Tím Lavender */
47+
/* Tím Lavender
4848
#e73c7e
49-
/* Hồng đậm */
50-
);
51-
background-size: 400% 400%;
49+
/* Hồng đậm
50+
); */
51+
52+
53+
/* background-size: 400% 400%;
5254
/* Kích thước của gradient lớn hơn viewport để có thể di chuyển */
53-
animation: gradient-animation 10s ease infinite;
55+
/* animation: gradient-animation 10s ease infinite; */
5456
/* Gọi animation để chạy nền */
55-
color: #333;
57+
/* color: #333; */
5658
/* Đảm bảo màu chữ mặc định dễ đọc */
5759

58-
min-height: 100vh;
60+
/* min-height: 100vh;
5961
display: flex;
6062
align-items: center;
6163
justify-content: center;
6264
position: relative;
63-
overflow-x: hidden;
64-
}
65+
overflow-x: hidden; */
66+
/* } */
6567

66-
/* Định nghĩa chuyển động của gradient */
68+
/* Định nghĩa chuyển động của gradient
6769
@keyframes gradient-animation {
6870
0% {
6971
background-position: 0% 50%;
@@ -76,7 +78,7 @@ body {
7678
100% {
7779
background-position: 0% 50%;
7880
}
79-
}
81+
} */
8082

8183
/* Hiệu ứng nền màu nước */
8284
/* body::before {
@@ -97,6 +99,25 @@ body {
9799
z-index: -2;
98100
} */
99101

102+
body {
103+
font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
104+
background: linear-gradient(135deg,
105+
#ff9a9e 0%,
106+
#fecfef 15%,
107+
#ffecd2 30%,
108+
#fcb69f 45%,
109+
#ff6b6b 60%,
110+
#ee5a52 75%,
111+
#d63384 90%,
112+
#b91c1c 100%);
113+
min-height: 100vh;
114+
display: flex;
115+
align-items: center;
116+
justify-content: center;
117+
position: relative;
118+
overflow-x: hidden;
119+
}
120+
100121
/* Lớp phủ để làm dịu nền (Tùy chọn nhưng khuyến khích) */
101122
/* Bạn có thể tạo một div ngay sau body hoặc dùng pseudo-element */
102123
body::before {
@@ -643,27 +664,41 @@ body::after {
643664

644665
/* Áp dụng animation cho tất cả các icon có class .animated-icon */
645666
.animated-icon {
646-
display: inline-block; /* Bắt buộc để transform hoạt động */
667+
display: inline-block;
668+
/* Bắt buộc để transform hoạt động */
647669
animation: pulse-glow 3s ease-in-out infinite;
648670
/* Gán một độ trễ khác nhau cho mỗi icon để chúng không nháy cùng lúc */
649671
}
650672

651-
.feature-list li:nth-child(1) .animated-icon { animation-delay: 0s; }
652-
.feature-list li:nth-child(2) .animated-icon { animation-delay: 0.5s; }
653-
.feature-list li:nth-child(3) .animated-icon { animation-delay: 1s; }
654-
.feature-list li:nth-child(4) .animated-icon { animation-delay: 1.5s; }
673+
.feature-list li:nth-child(1) .animated-icon {
674+
animation-delay: 0s;
675+
}
676+
677+
.feature-list li:nth-child(2) .animated-icon {
678+
animation-delay: 0.5s;
679+
}
680+
681+
.feature-list li:nth-child(3) .animated-icon {
682+
animation-delay: 1s;
683+
}
684+
685+
.feature-list li:nth-child(4) .animated-icon {
686+
animation-delay: 1.5s;
687+
}
655688

656689

657690
/* Keyframes animation (có thể dùng lại từ code cũ nếu có) */
658691
@keyframes pulse-glow {
692+
659693
0%,
660694
100% {
661695
transform: scale(1);
662696
filter: drop-shadow(0 2px 4px rgba(220, 38, 38, 0.3));
663697
}
664698

665699
50% {
666-
transform: scale(1.2); /* Tăng độ nảy lên một chút */
700+
transform: scale(1.2);
701+
/* Tăng độ nảy lên một chút */
667702
filter: drop-shadow(0 4px 12px rgba(220, 38, 38, 0.5));
668703
}
669704
}

index.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -229,15 +229,15 @@ <h1 class="display-3 fw-bolder mb-5"><span class="text-gradient d-inline">Trần
229229
viên Kỹ thuật Phần mềm đầy nhiệt huyết, chuyên về phát triển ứng dụng web và di động,
230230
luôn mong muốn học hỏi công nghệ mới và đóng góp vào các dự án sáng tạo.</p>
231231
<div class="d-grid gap-3 d-sm-flex justify-content-sm-center justify-content-lg-start mb-3">
232-
<!-- Các nút bấm giữ nguyên -->
232+
<!-- Các nút 1 và 2 giữ nguyên -->
233233
<a class="btn btn-primary btn-lg px-4 py-3 me-sm-3 fs-6 fw-bolder" href="resume.html"
234234
data-translate-key="btnMyResume">Hồ sơ của tôi</a>
235235
<a class="btn btn-outline-dark btn-lg px-4 py-3 me-sm-3 fs-6 fw-bolder"
236236
href="projects.html" data-translate-key="btnMyProjects">Dự án của tôi</a>
237-
<a class="btn btn-outline-danger btn-lg px-4 py-3 fs-6 fw-bolder d-inline-flex align-items-center"
238-
href="animation.html">
239-
<span data-translate-key="btnAnimation">Animation Page</span>
240-
</a>
237+
238+
<!-- SỬA NÚT THỨ BA -->
239+
<a class="btn btn-outline-danger btn-lg px-4 py-3 fs-6 fw-bolder" href="animation.html"
240+
data-translate-key="btnAnimation">Trang hiệu ứng</a>
241241
</div>
242242
</div>
243243
</div>

0 commit comments

Comments
 (0)