看到https://www.pingxx.com这个页面上面的轮播图好炫酷,要怎么实现两边的渐隐的效果?
-webkit-mask-image:线性渐变(-90deg,透明,#000 22%,#000 48%,rgba(0,0,0,.2) 78%,透明)
自己审查一下元素就能看到了
-webkit-mask-image:线性渐变(-90deg,透明,#000 22%,#000 48%,rgba(0,0,0,.2) 78%,透明)
自己审查一下元素就能看到了
