Please tell me how to make such a slider. The problem is that I do not understand a bit how to make the text and the shadow on the middle image displayed, but not on the others. I use the Owl-carousel myself, but I have not come across this. Thank you in advance.
- Usually in the sliders the active element has its own class, such as .active (in owl exactly this). Well, prohibit the display of text and pictures (display: none; in css) based on the presence of .active. - KAGG Design
- This is yes, but when the elements are greater than 1, then the class .active is assigned to all and select one of them hardly - VersusS
- Why is this "class assigned to all"? You see how the owl slider works, watch the class changes, and then reread what you wrote here. In the slider works js, and the element with the class .active is always one, regardless of their total number. - KAGG Design
|
