Re: [csswg-drafts] [css-grid] Manage GRID cell as FLEX. (#6714)

> > each individual cell behaves like a separate FLEX container
> 
> This is also totally possible already by setting `display:flex` to the grid item.

I wanted FLEX behavior for a cell, and you offer me FLEX for a separate element.



Excuse me, I use a translator, express the idea more clearly.
I'm not suggesting overriding implicit properties.
If I suggest entering **`GRID-DIRECTION;`** it means that this property will have a default value of **`NONE`** (this standart behavior). This value will correspond to the default behavior.

I didn't suggest changing the behavior from the container type at all.
Which container are you talking about?
I propose an idea without a container, in which the cell itself behaves like FLEX.
You probably know that GRID and FLEX have the same properties

```
    justify-content: ...;
    justify-items: ...;
    align-items: ...;
    align-content: ...;

```
In GRID, these properties determine the behavior of elements in each cell, completely similar to FLEX.
Moreover, the impact of these properties spreads in each cell within the same cell. Which means that each cell is a FLEX behavior.
So why not add the ability to place several elements in each cell? Almost everything is ready here.

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Monday, 4 October 2021 23:51:23 UTC