简体   繁体   English

湿透的透明背景不适用于Chrome

[英]Swiffy transparent background not working with Chrome

I am using the Swiffy conversion on a website. 我正在网站上使用Swiffy转换。 It works fine with FireFox but when it comes to Chrome it places a horrible black background around the animation. 它可以在FireFox上正常工作,但在Chrome上,它会在动画周围放置可怕的黑色背景。 This is even after i set: 这甚至在我设置之后:

stage.setBackground(null);

I've also tried setting the CSS attributes of the Swiffy div container and its child elements but still no luck with Chrome? 我也尝试过设置Swiffy div容器及其子元素的CSS属性,但是Chrome还是没有运气吗? Surely it should work in Chrome. 当然可以在Chrome中使用。 It is a Google product after all. 毕竟这是Google产品。 Thank you for any help 感谢您的任何帮助

尝试应用以下CSS background: none !important;

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

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