CSS Marquee Compatibility

筅森魡賤 提交于 2019-12-10 19:34:51

问题


I can't seem to find anywhere online the browser compatibility for the CSS Marquee properties. Can someone give me some information about which browsers (and versions) it works on.

P.s. I know some will say not to use marquees, but it's a requirement for one of our clients. And I'd rather use CSS properties than Javascript or the tag.

Here's the W3.org page on it. http://www.w3.org/TR/css3-marquee/#the-marquee-style

EDIT (08/10/203): Since this question, I have been experimenting and noticed that you can simulate a Marquee using CSS animation keyframes. Support is greater.


回答1:


Currently, CSS3 Marquee is only supported in Webkit browsers (Chrome and Safari).

Notice that the only extension name available for the marquee element is -webkit-marquee (there isn't a -moz-, -o-, -ms- or 'general' marquee equivalent).

The status of Marquee implementation in Firefox is still unconfirmed currently, and I can't find any information on plans to implement it in IE or Opera as of yet.



来源:https://stackoverflow.com/questions/16787859/css-marquee-compatibility

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!