javascript - I saw a cool carousel image. Please tell me how to implement it.
某草草
某草草 2017-05-18 10:52:10
0
2
533

I saw that the carousel image on the page https://www.pingxx.com is so cool. How can I achieve the fade-out effect on both sides?

某草草
某草草

reply all(2)
为情所困

-webkit-mask-image:linear-gradient(-90deg,transparent,#000 22%,#000 48%,rgba(0,0,0,.2) 78%,transparent)

Peter_Zhu

You can see it by checking the elements yourself

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template