简体   繁体   English

javascript、jquery animate() 函数问题

[英]javascript, jquery animate() function problem

Here is a photo link: https://photos.app.goo.gl/qvrhniSiDARVdLAK7这是照片链接: https : //photos.app.goo.gl/qvrhniSiDARVdLAK7

I have a question.我有个问题。 If i want to use jQuery animate() function stuff must be 'position: relative' ?如果我想使用 jQuery animate() 函数的东西必须是“位置:相对”? Because when it's position relative stuff goes on top of fixed menu...因为当它的位置相关的东西放在固定菜单的顶部时......

您需要在 css 中添加 z-index,例如 'z-index: 10000' 以便它位于所有内容之上。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM