Browse Source

优化呼吸效果

master
453530270@qq.com 3 years ago
parent
commit
5fc2efa98c
  1. 10
      src/views/TycView.vue

10
src/views/TycView.vue

@ -201,10 +201,8 @@
} }
.pcgrbox .pcbcon .pcbitem .pcbval { .pcgrbox .pcbcon .pcbitem .pcbval {
/* height: 230px; */
/* width: 315px; */
width: 110px; width: 110px;
/* background-image: url('../assets/img/ty_pcb_val.png'); */ /** 20230727 */
background-image: url('../assets/img/ty_pcb_item_bg.png'); background-image: url('../assets/img/ty_pcb_item_bg.png');
background-position: 0 0; background-position: 0 0;
background-repeat: no-repeat; background-repeat: no-repeat;
@ -216,17 +214,19 @@
-webkit-animation: ani_fls 3s infinite forwards; -webkit-animation: ani_fls 3s infinite forwards;
animation: ani_fls 3s infinite forwards; animation: ani_fls 3s infinite forwards;
} }
/*闪瞎人的动画 */ /*闪瞎人的动画 */
@keyframes ani_fls{ @keyframes ani_fls{
0%{ 0%{
opacity: 0.8; opacity: 0.6;
scale: (0.4); scale: (0.4);
} }
50%{ 50%{
opacity: 1; opacity: 1;
} }
100%{ 100%{
opacity: 0.8; opacity: 0.6;
/* transform: rotate(1turn); */
scale: (1); scale: (1);
} }
} }

Loading…
Cancel
Save