L
L
Locket2021-03-12 11:47:09
css
Locket, 2021-03-12 11:47:09

How to make a translucent slider?

There is such a kind of slider in the layout. How can you implement a transparent part on the sides? The gradient doesn't work for me. If there is such an opportunity in slick or swiper, then it will also work.
604b29d835d0d467364473.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vitaliy Pershin, 2021-03-12
@Locket

You can use -webkit-mask:

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question