Commit c79fd530 by 李伟康

commit 修改动画

1 parent 32e2c9a6
......@@ -134,7 +134,7 @@ export default {
0% {
opacity: 0;
}
50%{
50% {
opacity: 1;
}
100% {
......@@ -276,6 +276,7 @@ export default {
height: calc(100% + 2px);
overflow: hidden;
border-radius: 12px;
&::before {
content: '';
position: absolute;
......@@ -304,6 +305,14 @@ export default {
border-radius: 12px;
}
}
&:nth-child(4),
&:nth-child(5) {
.border {
&::before {
animation: rotate 8s .5s linear infinite;
}
}
}
.img {
position: relative;
z-index: 2;
......
......@@ -49,19 +49,20 @@ export default {
&-bg {
position: fixed;
left: 50%;
transform: translateX(-50%);
width: 1761px;
height: 93.94vh;
background: url('../../assets/images/factor/factor-bg.png');
background-size: contain;
background-repeat: no-repeat;
bottom: 0;
animation: show-bg 1s forwards;
}
@keyframes show-bg {
0%{
bottom: -100%;
0% {
transform: translate(-50%, 1000%);
}
100%{
bottom: 0;
100% {
transform: translate(-50%, 0);
}
}
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!