.page-box .page .album .pic::after {
content: '';
display: block;
width: 0.3rem;
height: 5rem;
background: rgba(255, 255, 255, 0.25);
transform: rotate(45deg);
position: absolute;
top: 50%;
margin-top: -2.5rem;
animation: picFlash infinite 2000ms ease-in-out;
}
@keyframes picFlash {
from,
37.5% {
left: -50%;
}
72.5%,
to {
left: 150%;
}
}
【图片光闪效果】
最新推荐文章于 2024-05-06 10:59:29 发布