我怎样才能实现这个:悬停图像覆盖

发布于 2024-12-03 03:45:44 字数 226 浏览 0 评论 0原文

我发现了这个网站:http://gatilho.com/

我喜欢蓝色的叠加层和向下滑动的网站标题图像悬停,但我似乎不知道它是如何完成的。我也想要过渡。

有什么建议吗? 是只是 CSS 还是 jQuery 呢?

谢谢!

(附言:我不想像它一样把它撕下来,所以我想弄清楚如何!)

I came across this site: http://gatilho.com/

I love the blue overlay and site title that slides down on image hover but I can't seem to figure out how it's done. I want the transition too.

Any suggestions?
Is it just CSS or jQuery too?

Thanks!

(p.s. I'm not looking to rip it off just like it so I want to figure out how!)

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

梦里梦着梦中梦 2024-12-10 03:45:44

查看源代码,看起来他们正在使用 http://www.dynamicdrive.com/动态索引5/overlapcontent.htm

Looking at the source code, it looks like they're using http://www.dynamicdrive.com/dynamicindex5/overlapcontent.htm

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文