动效优化

This commit is contained in:
黄心宇 2025-12-26 17:55:15 +08:00
parent b8c7af62e9
commit 7d30f7f17c
2 changed files with 9 additions and 9 deletions

View File

@ -109,7 +109,7 @@ function Index(props) {
{
[0,1,2,3,4,5].map(() => {
const list = [...projectList.sort((a, b) => { return Math.random() - 0.5 } )]
return <BlurBox texts={list} interval={ 3000 + Math.random() * 1000 }></BlurBox>
return <BlurBox texts={list} interval={ 3000 + Math.random() * 2000 }></BlurBox>
})
}

View File

@ -23,35 +23,35 @@
div:nth-child(1) {
top: 70px;
left: 145px;
left: 205px;
}
div:nth-child(2) {
top: 140px;
left: 210px;
left: 270px;
}
div:nth-child(3) {
top: 190px;
left: 140px;
top: 210px;
left: 200px;
}
div:nth-child(4) {
top: 70px;
right: 145px;
right: 205px;
left: unset;
}
div:nth-child(5) {
top: 140px;
right: 210px;
right: 270px;
left: unset;
}
div:nth-child(6) {
top: 190px;
right: 140px;
top: 210px;
right: 200px;
left: unset;
}