最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

javascript - Owl Carousel v1.3.2 with Vertical slide animation - Stack Overflow

programmeradmin1浏览0评论

I am using Owl Carousel v1.3.2 in my code base. This is awesome carousel plugin with fully responsive UI. But recently we got one requirement in which we want slider contents should move vertically upward/downward. I checked documentation as well as plugin code but haven't found any configuration setting for doing that.

I searched through SO and came across following question How to use owl carousel vertically? but even that doesn't solve my problem.

Has anybody written any custom code to achieve this functionality? It's not possible for me to add another carousel library just for this vertical slide animation.

I am using Owl Carousel v1.3.2 in my code base. This is awesome carousel plugin with fully responsive UI. But recently we got one requirement in which we want slider contents should move vertically upward/downward. I checked documentation as well as plugin code but haven't found any configuration setting for doing that.

I searched through SO and came across following question How to use owl carousel vertically? but even that doesn't solve my problem.

Has anybody written any custom code to achieve this functionality? It's not possible for me to add another carousel library just for this vertical slide animation.

Share Improve this question edited May 23, 2017 at 11:54 CommunityBot 11 silver badge asked Aug 27, 2015 at 7:12 user5243536user5243536 0
Add a ment  | 

1 Answer 1

Reset to default 3

This is some sort of a work around. Use transform: rotate(90deg) on .owl-carousel, or the container class, and rotate 270 deg by transform: rotate(270deg) on the items. You have to deal with the margins problems yourself though, but at least the displaying and animation looks fine.

发布评论

评论列表(0)

  1. 暂无评论