在 React 中实现 Apple TV 的 3D 视差 (Parallax) 效果 (移植自 atvImg)

2015-11-02 11:20:24 +08:00
 keyanzhang
移植自 https://github.com/drewwilson/atvImg

![GIF]( )

Demo: http://keyanzhang.github.io/react-atv-img

Repo: https://github.com/keyanzhang/react-atv-img/

npm: https://www.npmjs.com/package/react-atv-img
3527 次点击
所在节点    分享创造
9 条回复
beneo
2015-11-02 11:54:08 +08:00
junnplus
2015-11-02 12:25:49 +08:00
赞+1
hronro
2015-11-02 12:47:02 +08:00
这个是真的赞!
ericshine
2015-11-02 13:14:06 +08:00
好看。
dong3580
2015-11-02 13:28:33 +08:00
赞+1
moonkiller
2015-11-02 17:12:12 +08:00
为嘛我觉得这个效果的方向做反了
现在鼠标是吸附效果,移到哪个角,哪个角翘起来
但鼠标给我的印象更多是按下去,应该是挪到哪个角,他的对角线翘起来吧
keyanzhang
2015-11-02 21:36:00 +08:00
y2x33
2015-11-07 17:35:16 +08:00
赞!
loethen
2015-11-08 17:27:25 +08:00
赞!

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/232866

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX