Suggest an editImprove this articleRefine the answer for “What is "grid area"?”. Your changes go to moderation before they’re published.Approval requiredContentWhat you’re changing🇺🇸EN🇺🇦UAPreviewTitle (EN)Short answer (EN)**`grid-area`** is a property that sets an element's placement area in CSS Grid (which rows and columns it occupies), either by coordinates or by a name from `grid-template-areas`. **Key point:** `grid-area` is the position and size of an element in grid coordinates, or the name of an area from `grid-template-areas`; Flexbox cannot do this.Shown above the full answer for quick recall.Answer (EN)Image`grid-area` is a property that sets **the placement area of an element in CSS Grid**, that is, in which **rows and columns** it will be located. It can work **in two ways**: --- ### **1. The coordinate method (via grid lines)** ```css .item { grid-area: 1 / 2 / 3 / 4; } ``` Format: ```javascript grid-area: row-start / column-start / row-end / column-end; ``` That is, the element will start at **row 1**, **column 2**, and stretch to **row 3** and **column 4**. --- ### **2. The named method (via** `grid-template-areas`**)** In the container: ```css .container { display: grid; grid-template-areas: "header header" "sidebar main" "footer footer"; } ``` In the element: ```css .header { grid-area: header; } ``` Here, `grid-area` simply references the name of the area defined in the layout. --- ### **Main idea** `grid-area` is **the position + size of the element in grid coordinates**, or **the name of an area**, if the `grid-template-areas` template is used. **Flexbox cannot do this**, this is one of the key differences of Grid.For the reviewerNote to the moderator (optional)Visible only to the moderator. Helps review go faster.