feat: 首页的动效的修复
This commit is contained in:
@@ -3,11 +3,21 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.ip {
|
.ip {
|
||||||
|
position: relative;
|
||||||
flex: 0 0 158px;
|
flex: 0 0 158px;
|
||||||
width: 158px;
|
width: 158px;
|
||||||
height: 134px;
|
height: 134px;
|
||||||
animation: sprite-play calc(var(--ipLargeTime) * 1s)
|
animation: sprite-play calc(var(--ipLargeTime) * 1s)
|
||||||
steps(var(--ipLargeImageStep)) infinite;
|
steps(var(--ipLargeImageStep)) infinite;
|
||||||
|
&::before {
|
||||||
|
content: "";
|
||||||
|
position: absolute;
|
||||||
|
background-color: #f9fcfd;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
right: 0;
|
||||||
|
height: 3px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@keyframes sprite-play {
|
@keyframes sprite-play {
|
||||||
|
|||||||
Reference in New Issue
Block a user