19 lines
687 B
Markdown
19 lines
687 B
Markdown
|
---
|
||
|
title: Use the order Property to Rearrange Items
|
||
|
localeTitle: استخدم خاصية الطلب لإعادة ترتيب العناصر
|
||
|
---
|
||
|
## استخدم خاصية الطلب لإعادة ترتيب العناصر
|
||
|
|
||
|
قبل إجراء أي تغييرات ، انتبه إلى ترتيب الألوان. ستحصل على اللون الأزرق على اليسار والأحمر. بعد تعيين خاصية `order` ستتمكن من اختيار أي منها يجب أن يتم عرضه أولاً دون الحاجة إلى تغيير كود html.
|
||
|
|
||
|
\`\` \`المغلق
|
||
|
|
||
|
# مربع 1 {
|
||
|
|
||
|
`background-color: dodgerblue;
|
||
|
order: 2;
|
||
|
height: 200px;
|
||
|
width: 200px;
|
||
|
`
|
||
|
|
||
|
} \`\` \`
|