Re: [csswg-drafts] [css-grid] Allow naming grid rows and columns and allow a grid item to span named grid areas/rows/columns... (#4892)

> ```css
> grid-area: B2 / C4;
> ```
> ...and this would place the item in B2, B3, B4 and also C2, C3 and C4.

This syntax already exists, and means something else. It expands to

```css
grid-row-start: B2;
grid-row-end: B2;
grid-column-start: C4;
grid-column-end: C4;
```

that is, it refers to the B4 area.

Changing the meaning could break sites, and wouldn't add much benefit since you can already achieve your desired behavior with

```css
grid-area: B2 / B2 / C4 / C4;
```
which means
```css
grid-row-start: B2;
grid-row-end: C4;
grid-column-start: B2;
grid-column-end: C4;
```

-- 
GitHub Notification of comment by Loirooriol
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4892#issuecomment-602048339 using your GitHub account

Received on Saturday, 21 March 2020 14:08:30 UTC