ENع
الدرس 13 · Motion and scale

Transitions and animations

لم يُترجم بعد؛ يُعرض باللغة الإنجليزية

A CSS change normally lands on the very next frame: a jump. Add transition: scale 0.3s and the browser spreads the change over 300 ms instead, working out progress and an eased in-between value on every frame. Then write @keyframes with a waypoint at 50%, play it with the animation property, and see why animating a transform such as scale is cheap for the browser to draw.

12 دقيقة10 خطوات5 أسئلةAdvanced
شكل 13 · تفاعلي
جارٍ تحميل الرسم…
أو ← →

اختبار يتاح بعد الخطوة الأخيرة.