Suggest an editImprove this articleRefine the answer for “How do you activate Flexbox for a container?”. Your changes go to moderation before they’re published.Approval requiredContentWhat you’re changing🇺🇸EN🇺🇦UAPreviewTitle (EN)Short answer (EN)**Flexbox** is activated by setting `display: flex` on the container; after that, it becomes a flex container, and its direct children become flex items. **Key point:** after `display: flex`, flex properties (`flex-direction`, `justify-content`, `align-items`, etc.) start to apply to the container's direct children.Shown above the full answer for quick recall.Answer (EN)ImageSet on the element: ```css container { display: flex; } ``` After this, it becomes a **flex container**, and its direct children - **flex items**, to which flex properties (`flex-direction`, `justify-content`, `align-items`, etc.) start to apply.For the reviewerNote to the moderator (optional)Visible only to the moderator. Helps review go faster.