ENع
الدرس 10 · Layout

Positioning

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

Every box starts in normal flow, one below the other. The position property lets you move a box out of that order. Shift box B with position: relative and watch its old space stay behind. Pin a NEW tag to a corner with position: absolute, then make the card its anchor. Finally switch to position: fixed and scroll the page: the tag stays in the corner of the window.

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

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