7
7
box-sizing : border-box;
8
8
}
9
9
10
- body {
10
+ /* body {
11
11
font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
12
- /* background: linear-gradient(135deg,
12
+ background: linear-gradient(135deg,
13
13
#ff9a9e 0%,
14
14
#fecfef 15%,
15
15
#ffecd2 30%,
16
16
#fcb69f 45%,
17
17
#ff6b6b 60%,
18
18
#ee5a52 75%,
19
19
#d63384 90%,
20
- #b91c1c 100%); */
20
+ #b91c1c 100%); */
21
21
22
22
/* Hiệu ứng nền Gradient chính */
23
23
@@ -26,44 +26,46 @@ body {
26
26
27
27
/* background: linear-gradient(135deg, #1e30f3 0%, #e21e80 100%); */
28
28
29
- background : linear-gradient (125deg ,
29
+ /* background: linear-gradient(125deg,
30
30
#ff6b6b,
31
- /* Đỏ hồng */
31
+ /* Đỏ hồng
32
32
#ff9a8b,
33
- /* Cam nhạt */
33
+ /* Cam nhạt
34
34
#fecfef,
35
- /* Hồng phấn */
35
+ /* Hồng phấn
36
36
#ffda07,
37
- /* Vàng */
37
+ /* Vàng
38
38
#a8e6cf,
39
- /* Xanh bạc hà */
39
+ /* Xanh bạc hà
40
40
#23d5ab,
41
- /* Xanh lá cây sáng */
41
+ /* Xanh lá cây sáng
42
42
#23a6d5,
43
- /* Xanh dương */
43
+ /* Xanh dương
44
44
#a1c4fd,
45
- /* Xanh da trời nhạt */
45
+ /* Xanh da trời nhạt
46
46
#c6a9e8,
47
- /* Tím Lavender */
47
+ /* Tím Lavender
48
48
#e73c7e
49
- /* Hồng đậm */
50
- );
51
- background-size : 400% 400% ;
49
+ /* Hồng đậm
50
+ ); */
51
+
52
+
53
+ /* background-size: 400% 400%;
52
54
/* 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; */
54
56
/* Gọi animation để chạy nền */
55
- color : # 333 ;
57
+ /* color: #333; */
56
58
/* Đảm bảo màu chữ mặc định dễ đọc */
57
59
58
- min-height : 100vh ;
60
+ /* min-height: 100vh;
59
61
display: flex;
60
62
align-items: center;
61
63
justify-content: center;
62
64
position: relative;
63
- overflow-x : hidden;
64
- }
65
+ overflow-x: hidden; */
66
+ /* } */
65
67
66
- /* Định nghĩa chuyển động của gradient */
68
+ /* Định nghĩa chuyển động của gradient
67
69
@keyframes gradient-animation {
68
70
0% {
69
71
background-position: 0% 50%;
76
78
100% {
77
79
background-position: 0% 50%;
78
80
}
79
- }
81
+ } */
80
82
81
83
/* Hiệu ứng nền màu nước */
82
84
/* body::before {
@@ -97,6 +99,25 @@ body {
97
99
z-index: -2;
98
100
} */
99
101
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
+
100
121
/* Lớp phủ để làm dịu nền (Tùy chọn nhưng khuyến khích) */
101
122
/* Bạn có thể tạo một div ngay sau body hoặc dùng pseudo-element */
102
123
body ::before {
@@ -643,27 +664,41 @@ body::after {
643
664
644
665
/* Áp dụng animation cho tất cả các icon có class .animated-icon */
645
666
.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 */
647
669
animation : pulse-glow 3s ease-in-out infinite;
648
670
/* Gán một độ trễ khác nhau cho mỗi icon để chúng không nháy cùng lúc */
649
671
}
650
672
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
+ }
655
688
656
689
657
690
/* Keyframes animation (có thể dùng lại từ code cũ nếu có) */
658
691
@keyframes pulse-glow {
692
+
659
693
0% ,
660
694
100% {
661
695
transform : scale (1 );
662
696
filter : drop-shadow (0 2px 4px rgba (220 , 38 , 38 , 0.3 ));
663
697
}
664
698
665
699
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 */
667
702
filter : drop-shadow (0 4px 12px rgba (220 , 38 , 38 , 0.5 ));
668
703
}
669
704
}
0 commit comments