******************************************************
一、小程序 点击按钮特效
点击按钮有一个类似波纹的效果
<view class="cash-out bubble">提现</view>
<view class="share bubble">推荐</view>
.cash-out,.share{
width: 325rpx;
height: 80rpx;
background: #333;
border-radius: 6rpx;
font-size: 30rpx;
color: #fff;
line-height: 80rpx;
text-align: center;
}
.bubble{
position: relative;
overflow: hidden;
}
.bubble:after{
content: "";
background: #999;
position: absolute;
width: 750rpx;
height: 750rpx;
left: calc(50% - 375rpx);
top: calc(50% - 375rpx);
opacity: 0;
margin: auto;
border-radius: 50%;
transform: scale(1);
transition: all 0.5s ease-in-out;
}
.bubble:active:after {
transform: scale(0);
opacity: 1;
transition: 0s;
}
二、
*********************持续更新***********************