freeCodeCamp/guide/arabic/certifications/responsive-web-design/css-flexbox/use-display-flex-to-positio.../index.md

16 lines
706 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

---
title: "Use display: flex to Position Two Boxes"
localeTitle: استخدم العرض
---
## استخدام العرض: فليكس لوضع صناديق اثنين
[Flexbox](https://github.com/freecodecamp/guides/tree/master/src/pages/css/layout/flexbox/index.md) هي طريقة لتنظيم المحتوى في CSS3 مما يسمح لك بإنشاء مواقع ويب responsie.
يتمثل هذا التحدي في تعيين أول خطوة من خطوات البرنامج عند استخدام Flexbox. تحتاج إلى جعل الحاوية الرئيسية مرنًا بإضافة _العرض: flex؛_ إلى قسم CSS الخاص به.
مثال:
`#main-container {
display: flex;
}
`