javascript - 重现 github 404 效果

标签 javascript html css web

<分区>


要求我们推荐或查找工具、库或最喜欢的场外资源的问题对于 Stack Overflow 来说是偏离主题的,因为它们往往会吸引自以为是的答案和垃圾邮件。相反,describe the problem以及迄今为止为解决该问题所做的工作。

关闭 9 年前

当我在汽车和 obione 周围移动鼠标时,404 错误有点摇晃,我真的很喜欢这种效果:P。我将如何重新创建它?你可以在这里找到我在说什么。

我在 HTML、CSS 和 javascript 方面有很多知识,但我就是不明白他们是怎么做到的:P

最佳答案

他们使用了 Plax JS :

Plax is a jQuery plugin that makes it suuuuuper easy to parallax elements in your site based on mouse position. You can see it implemented in many places throughout GitHub, including the 404 page, the 500 page, and the about page. I've also used a modified version to parallax a URL.

关于javascript - 重现 github 404 效果,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21296708/

上一篇:html - table-cell > img 额外的 4px 空间

下一篇:html - 在 Bootstrap Nav 中居中一项

相关文章:

java - 使用 Java 从文件中提取所有 HTML 标签,包括结束标签,而无需使用 Jsoup 等外部库

c# - 使用 javascript 设计 div

javascript - 我无法将 Angular Datepicker 包含到模块中

javascript - Node JS 浏览器模拟(cookies、session、headers)

javascript - 在 Axios 调用后设置状态后无法让 React 组件更新

javascript - 如何在 amcharts4 中将时间戳 unix 格式化为日期

jquery - 我如何在 jquery 中切换点击功能

javascript - 如何向这个 Angular JS 应用程序添加编辑事件?

css - 如何加快 bootstrap nav-collapse 的过渡

html - box-sizing + 子对象