微信小程序动画之点击效果
微信小程序动画之点击效果

代码:
js:
wxml:
<view class="ripple" style="{{rippleStyle}}"></view><view class="container" bindtouchstart="containerTap"></view>wxss:
page{height:100%}.container{ width:100%; height:100%; overflow: hidden}.ripple { background-color:aquamarine; border-radius: 100%; height:10px; width:10px; margin-top: -90px; position: absolute; overflow: hidden}@-webkit-keyframes ripple { 100% { webkit-transform: scale(12); transform: scale(12); background-color: transparent; }}声明:本站所有文章资源内容,如无特殊说明或标注,均为采集网络资源。如若本站内容侵犯了原著者的合法权益,可联系本站删除。

