微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

在 Devvn Image Hotspots 中关闭 CSS 属性

如何解决在 Devvn Image Hotspots 中关闭 CSS 属性

我对图像热点插件的 Css 有问题。我正在使用 Devvn 的 Image Hotspot,我已经解决了移动设备响应性的问题,但我在使用一个 Css 属性时遇到了问题。 您可以在下面找到我使用过的 Css 代码

@media (max-width: 500px){
div#powerTip{
position: absolute !important; /*The position of the tooltiP*/
    width: auto !important; /*The width of the tooltiP*/
    height: auto !important; /*The height of the tooltiP*/
    left: auto !important; /*The position from the left of the tooltiP*/
    top: auto !important; /*The position from the top of the tooltiP*/
    overflow-x: hidden; /* For Hidding x scrollbar of the tooltiP*/
    overflow-y: hidden; /* For Hidding y scrollbar of the tooltiP*/}}

现在的问题是 left 属性并没有解决问题。作为工具提示,它必须超过一个点,但它一直显示在左侧。 所有其他 CSS 属性都在工作,只是 left 属性没有做任何事情。我以前做过,我知道这应该是正确执行此操作的正确方法,但我不知道为什么它不再起作用了。 提前谢谢你们!!

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。