fix: gỡ đường hairline đè nút CTA hero + marquee di tích cuộn liên tục
- Tắt đường trang trí .public-hero-inner (đè ngang nút "Khám phá ngay/Tìm hiểu dự án") - Marquee tên di tích: vòng lặp khép kín phải→trái (track <ul> reset, dịch -50%), tên bấm được mở trang chi tiết, rê chuột để tạm dừng; tôn trọng prefers-reduced-motion Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
+6
-2
@@ -292,7 +292,7 @@ a {
|
||||
|
||||
.public-hero-inner::before,
|
||||
.public-hero-inner::after {
|
||||
content: "";
|
||||
content: none; /* gỡ đường hairline trang trí (đè lên nút CTA) */
|
||||
position: absolute;
|
||||
pointer-events: none;
|
||||
}
|
||||
@@ -1423,14 +1423,18 @@ a {
|
||||
.heritage-marquee-track {
|
||||
display: inline-flex;
|
||||
width: max-content;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
list-style: none;
|
||||
align-items: center;
|
||||
white-space: nowrap;
|
||||
will-change: transform;
|
||||
transform: translate3d(0, 0, 0);
|
||||
}
|
||||
|
||||
@media (prefers-reduced-motion: no-preference) {
|
||||
.heritage-marquee-track {
|
||||
animation: heritage-marquee 46s linear infinite;
|
||||
animation: heritage-marquee 42s linear infinite;
|
||||
}
|
||||
|
||||
.heritage-marquee:hover .heritage-marquee-track {
|
||||
|
||||
Reference in New Issue
Block a user