intro.js在具有固定元素的mozilla上运行不正常(intro.js not working well on mozilla with fixed elements)

编程入门 行业动态 更新时间:2024-10-24 06:28:43
intro.js在具有固定元素的mozilla上运行不正常(intro.js not working well on mozilla with fixed elements)

我在我的网站上使用intro.js作为教程。 它在chrome上工作得很好,但是现在我在Mozilla Firefox尝试了,并且在突出显示时窗口正在移动。 任何人都知道为什么会这样吗?

编辑:

我修复了mozilla firefox,更新了css,然而对于IE它仍然无法正常工作

@media screen and (-webkit-min-device-pixel-ratio:0) { .introjs-fixParent { position: absolute !important; } } .introjs-fixParent { z-index: auto !important; opacity: 1.0 !important; -webkit-transform: none !important; -moz-transform: none !important; -ms-transform: none !important; -o-transform: none !important; transform: none !important; }

I'm using intro.js for tutorials in my website. It's working well on chrome, but now I tried in Mozilla Firefox and the window is moving when highlighted. Anyone know why this is happening ?

EDIT:

I fixed for mozilla firefox, updating the css, however for IE it's still not working

@media screen and (-webkit-min-device-pixel-ratio:0) { .introjs-fixParent { position: absolute !important; } } .introjs-fixParent { z-index: auto !important; opacity: 1.0 !important; -webkit-transform: none !important; -moz-transform: none !important; -ms-transform: none !important; -o-transform: none !important; transform: none !important; }

最满意答案

我解决这个问题的方法是编辑orignal intro.js css:

**这适用于mozilla firefox和IE

@media screen and (-webkit-min-device-pixel-ratio:0) { .introjs-fixParent { position: relative !important; } } .introjs-fixParent { z-index: auto !important; opacity: 1.0 !important; -webkit-transform: none !important; -moz-transform: none !important; -ms-transform: none !important; -o-transform: none !important; transform: none !important; }

My solution to solve this was by editing the orignal intro.js css:

**This works for mozilla firefox and IE

@media screen and (-webkit-min-device-pixel-ratio:0) { .introjs-fixParent { position: relative !important; } } .introjs-fixParent { z-index: auto !important; opacity: 1.0 !important; -webkit-transform: none !important; -moz-transform: none !important; -ms-transform: none !important; -o-transform: none !important; transform: none !important; }

更多推荐

本文发布于:2023-07-23 12:04:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1231665.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:不正常   元素   intro   js   mozilla

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!