javascript FancyBox 2 的轻量级、移动兼容、现代、免费替代品

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/18795368/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-10-27 13:15:26  来源:igfitidea点击:

Lightweight, mobile compatible, modern, free alternative to FancyBox 2

open-sourcecss-transitionsjavascriptfancybox-2

提问by Tzach

I am looking for an alternative to FancyBox 2. It should be lightweight, mobile friendly (use hardware accelerated css transitions), and free to use commercially (FancyBox isn't). Any good alternatives?

我正在寻找 FancyBox 2 的替代品。它应该是轻量级的、移动友好的(使用硬件加速的 css 转换),并且可以免费商业使用(FancyBox 不是)。有什么好的替代品吗?

回答by Jeff Escalante

I think Swipeboxis the closest I've seen to what you're after. It doesn't look exactly the same as fancybox, but it is a lightbox, mobile-friendly, uses css transitions, and appears to be free for commercial use

我认为Swipebox是我见过的最接近你所追求的。它看起来与fancybox 不完全相同,但它是一个灯箱,适合移动设备,使用css 过渡,并且似乎可以免费用于商业用途