问题描述
我似乎无法在任何地方找到CSS选框属性的浏览器兼容性。有人可以给我一些有关其工作的浏览器(和版本)的信息。
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。我知道有些人会说不使用marquees,但它是我们的客户的一个要求。我想使用CSS属性比Javascript或标签。
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.
这里是W3.org页面。
Here's the W3.org page on it. http://www.w3.org/TR/css3-marquee/#the-marquee-style
编辑(08/10/203):自从这个问题,我一直在试验,并注意到,你可以模拟一个使用CSS动画关键帧。
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.
推荐答案
目前,CSS3 Marquee仅在Webkit浏览器(Chrome和Safari)中受支持。
Currently, CSS3 Marquee is only supported in Webkit browsers (Chrome and Safari).
请注意,可用于选取框元素的唯一扩展名为(没有 -moz -
, o -
, -ms -
或general字幕等效项)。
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).
在Firefox中中的Marquee实施状态,我找不到任何有关在IE或Opera中实现它的计划的信息。
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.
这篇关于CSS字幕兼容性的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!