我的字幕质量很差,文字很模糊(就像你在图片上有文字然后把图片放大)。
我注意到,如果我删除 css:
transform: perspective(2000px);
质量恢复正常。
为什么 JSSOR 将此添加到我的所有字幕中,我该如何禁用它?
一个简单的解决方案(可能不是最漂亮的)是在我的外部样式表中将 transform 设置为 none,然后将其设置为 !important。它是唯一的吗?
请将 $HWA 选项设置为 false。
顺便说一句,有没有我可以看到模糊文本的演示?
To avoid blurry text and remain slider responsive with jssor slider,
some certain change is required in file name called 'jssor.utils.js'.
In line 1045 transformValue += " perspective(2000px)";
change to
transformValue += "none";
And line 1092 elmt.style[GetTransformProperty(elmt)] = "perspective(2000px)";
change to
elmt.style[GetTransformProperty(elmt)] = "none";
您可以尝试style="transform: none !important; -webkit-transform: none !important;"
编写样式内部 div。