نمط الرسوم المتحركة الاسم الخاصية
مثال
تغيير خاصية اسم الرسوم المتحركة لعنصر <div>:
document.getElementById("myDIV").style.animationName = "myNEWmove";
التعريف والاستخدام
تعيّن الخاصية animationName اسمًا للرسوم المتحركةkeyframes أو ترجعها.
دعم المتصفح
تحدد الأرقام الواردة في الجدول إصدار المتصفح الأول الذي يدعم الخاصية بالكامل.
تحدد الأرقام المتبوعة بـ Webkit أو Moz أو O الإصدار الأول الذي يعمل مع بادئة.
Property | |||||
---|---|---|---|---|---|
animationName | 43.0 4.0 Webkit |
10.0 | 16.0 5.0 Moz |
9.0 4.0 Webkit |
30.0 15.0 Webkit 12.1 12.0 O |
بناء الجملة
إرجاع خاصية AnimationName:
object.style.animationName
قم بتعيين خاصية AnimationName:
object.style.animationName = "none|keyframename|initial|inherit"
قيم الملكية
Value | Description |
---|---|
none | Default value. Specifies that there will be no animation (can be used to override animations coming from the cascade) |
keyframename | Specifies the name of the keyframe you want to bind to the selector |
initial | Sets this property to its default value. Read about initial |
inherit | Inherits this property from its parent element. Read about inherit |
تفاصيل تقنية
القيمة الافتراضية: | لا أحد |
---|---|
قيمة الإرجاع: | سلسلة ، تمثل خاصية اسم الحركة لعنصر |
إصدار CSS | CSS3 |
الصفحات ذات الصلة
مرجع CSS: خاصية اسم الحركة