خاصية اسم الحركة في CSS
مثال
حدد اسمًا للرسوم المتحركةkeyframes:
div {
animation-name: mymove;
}
التعريف والاستخدام
animation-name
تحدد الخاصية اسمًا
للرسوم المتحركة keyframes .
القيمة الافتراضية: | لا أحد |
---|---|
وارث: | رقم |
متحرك: | رقم. اقرأ عن animatable |
الإصدار: | CSS3 |
بناء جملة JavaScript: | الكائن .style.animationName = "myNEWmove" |
دعم المتصفح
تحدد الأرقام الواردة في الجدول إصدار المتصفح الأول الذي يدعم الخاصية بالكامل.
الأرقام متبوعة بـ -webkit- أو -moz- أو -o- تحدد الإصدار الأول الذي يعمل مع بادئة.
Property | |||||
---|---|---|---|---|---|
animation-name | 43.0 4.0 -webkit- |
10.0 | 16.0 5.0 -moz- |
9.0 4.0 -webkit- |
30.0 15.0 -webkit- 12.0 -o- |
بنية CSS
animation-name: keyframename|none|initial|inherit;
قيم الملكية
Value | Description | |
---|---|---|
keyframename | Specifies the name of the keyframe you want to bind to the selector | |
none | Default value. Specifies that there will be no animation (can be used to override animations coming from the cascade) | |
initial | Sets this property to its default value. Read about initial | |
inherit | Inherits this property from its parent element. Read about inherit |
الصفحات ذات الصلة
مرجع DOM HTML: animationName property