- From: woody-li via GitHub <sysbot+gh@w3.org>
- Date: Mon, 14 Oct 2024 09:04:46 +0000
- To: public-css-archive@w3.org
woody-li has just created a new issue for https://github.com/w3c/csswg-drafts: == [css-grid] New grid-template-columns keyword to hide column cells == Currently, for table elements, we have colgroup and col to control column styles. `<col>` accepts visibility CSS property to controls column cells not being rendered. But there's no way to implement the same behavior in grid layout. We have to hide the cells one by one in a column. Proposal ---- A new keyword, such as `hidden` for `grid-template-columns`, controls column cells not being rendered. Such as `grid-template-columns: 200px minmax(100px, auto) hidden 50px` to hide cells at the third column. Specification ---- > The grid-template-columns CSS property defines the line names and track sizing functions of the grid columns. So I think hide and skip column cells render is fit to its function. Puzzled ---- I've no idea how to distinguish the behavior between `0` and `hidden`. Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11032 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Monday, 14 October 2024 09:04:46 UTC