Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否可以对图像和表单产生翻转效果。
即我想要一个图像,当用户将鼠标悬停在上面时,它会滚动以显示一个表单(如登录或注册表单)。
找不到像这样的东西,所以假设它不可能,但我想我会问!
谢谢京东
这是很有可能的。
使用 CSS,说位置:绝对图像和表单的 div。
然后使用 z-index,确保图像位于表单上方。
然后,您可以使用 HTML onmouseover 事件来执行类似调用 Adobe Spry 的幻灯片动画效果的操作,以巧妙地完成您想要做的事情。
但老实说,这是不必要的闪光。