V
V
Viktor Viktorov2018-11-08 15:51:57
css
Viktor Viktorov, 2018-11-08 15:51:57

How to style first and last visible slide in owl carousel 2?

There is an owl carousel consisting of a different number of elements displayed by the site engine and 4 of them are visible, i.e. with class "active". According to the layout, I want to make the first and last visible block darkened.
Tried using pseudo-classes in CSS - didn't work. I don’t know how else to do it, with minimal crutches and maintaining adaptability. I would appreciate help or guidance.
5be42f9567f32833371749.jpeg

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrew, 2018-11-08
@CoolHeart

Something like this

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question