propriété HTML DOM style animationName
Exemples
Changez le <div> animationName attributs:
document.getElementById("myDIV").style.animationName="myNEWmove";
Essayez »
Définition et utilisation
animationName ensembles de propriétés ou retourne le nom de @keyframes animation.
support du navigateur
Internet Explorer 10, Firefox et le soutien de l'Opéra propriété animationName.
Safari et Chrome supportent une autre alternative de l'attribut de propriété qui WebkitAnimationName propriété.
Remarque: Internet Explorer 9 et les versions antérieures ne prennent pas en charge la propriété animationName.
grammaire
Retour propriétés animationName:
object .style.animationName
Définition des propriétés de animationName:
object .style.animationName="none|keyframename|initial|inherit"
Valeur de la propriété
值 | 描述 |
---|---|
none | 默认值。规定没有动画(可用于重写来自级联的动画)。 |
keyframename | 规定要绑定到选择器的关键帧的名称。 |
initial | 设置该属性为它的默认值。请参阅 initial 。 |
inherit | 从父元素继承该属性。请参阅 inherit 。 |
détails techniques
Par défaut: | aucun |
---|---|
Retours: | Chaîne représentant l'animation-name attribut de l'élément. |
CSS version | CSS3 |
articles connexes
CSS Manuel de référence: Animation-attribut name