Can't get Orbit Carousel to work in Foundation 6.2.0

旧时模样 提交于 2019-12-06 12:13:51

After your foundation.css css import in the <head> add:

<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/motion-ui/1.1.1/motion-ui.min.css" />

or use your own downloaded copy of the motion-ui style sheet.


Credit:

I found a thread on Github that mentions the need for the Motion UI CSS to be included:

[F 6.0.4] Orbit don't work correctly #7264

In the Foundation 6 Motion UI doc, I found the mention of the Motion UI CSS being necessary for transitions in the Orbit, Toggler and Reveal components:

Foundation 6 Motion UI doc

And down in the Motion UI doc there is link to the cdn:

Foundation 6 Motion UI Installation

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!