Browse Source

优化一点点

dev-烟台0301
dai 3 years ago
parent
commit
50350a1f2e
  1. 10
      src/assets/scss/pages/yantai-index.scss

10
src/assets/scss/pages/yantai-index.scss

@ -41,11 +41,11 @@
@keyframes detour { @keyframes detour {
/* 旋转沿x轴旋转-10度,再绕y轴旋转 */ /* 旋转沿x轴旋转-10度,再绕y轴旋转 */
0% { 0% {
transform: rotateX(-12deg) rotateY(360deg); transform: rotateX(-10deg) rotateY(360deg);
} }
100% { 100% {
transform: rotateX(-12deg) rotateY(0deg); transform: rotateX(-10deg) rotateY(0deg);
} }
} }
@ -57,7 +57,7 @@
right: 0; right: 0;
margin: 70px auto; margin: 70px auto;
transform-style: preserve-3d; transform-style: preserve-3d;
animation: detour 10s linear infinite; animation: detour 12s linear infinite;
// transform: rotateX(-10deg); // transform: rotateX(-10deg);
width: 123px; width: 123px;
height: 32px; height: 32px;
@ -100,7 +100,7 @@
right: 0; right: 0;
margin: 70px auto; margin: 70px auto;
transform-style: preserve-3d; transform-style: preserve-3d;
animation: detour2 10s linear infinite; animation: detour2 18s linear infinite;
// transform: rotateX(-10deg); // transform: rotateX(-10deg);
width: 2px; width: 2px;
height: 8px; height: 8px;
@ -242,7 +242,7 @@
cursor: pointer; cursor: pointer;
&.btn2 { &.btn2 {
top: 819px; top: 800px;
width: 300px; width: 300px;
height: 68px; height: 68px;
line-height: 68px; line-height: 68px;

Loading…
Cancel
Save