Big-beef Big-beef - 1 year ago 473
CSS Question

Show part of next and previous items with Owl Carousel 2.0

I'm using Owl Carousel 2.0. I would like to show one item, a half (or less) of the previous item (left side) and a half (or less) of the next item (right side). Just putting a part of them out on the right and on the left side:

enter image description here

I've been trying using just CSS (

negative with the
) but obviously Javascript override them.

Answer Source

The easiest way to do this is by using stagePadding here is a demo. But remind it's beta so better use the latest develop:

  margin: 10,
  loop: true,
  items: 1,
  stagePadding: 100
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download