Dán CSS sau:
.header-logo a {
position: relative;
display: inline-block;
overflow: hidden; /* Ẩn hiệu ứng dư */
}
.header-logo a::before {
content: "";
position: absolute;
top: 0;
left: -100%;
width: 50%;
height: 100%;
background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.4) 100%);
transform: skewX(-25deg);
}
.header-logo a:hover::before {
animation: shine 0.75s;
}
@keyframes shine {
100% { left: 150%; }
}
Chào ! Bạn thấy nội dung này thế nào?





