.customer-service-bg{ position: fixed; width: 120rpx; height: 120rpx; background-color: #FFFFFF; border-radius: 100%; box-shadow: 0 0 16rpx rgba(0,0,0,.4); -webkit-animation: scale_name 1s linear alternate infinite; animation: scale_name 1s linear alternate infinite; overflow: hidden; } .customer-service{ justify-content: center; align-items: center; position: relative; width: 100%; height: 100%; } .customer-service image{ width: 68rpx; height: 68rpx; } .customer-service .service-btn{ width: 100%; height: 100%; position: absolute; left: 0; top: 0; opacity: 0; } @-webkit-keyframes scale_name{ from{-webkit-transform: scale(1);transform: scale(1);} to{-webkit-transform: scale(1.1);transform: scale(1.1);} } @keyframes scale_name{ from{-webkit-transform: scale(1);transform: scale(1);} to{-webkit-transform: scale(1.1);transform: scale(1.1);} }