W3C home > Mailing lists > Public > public-css-archive@w3.org > March 2020

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

From: rchrdnsh via GitHub <sysbot+gh@w3.org>
Date: Wed, 25 Mar 2020 22:44:17 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-604125935-1585176255-sysbot+gh@w3.org>
trying to read through the doc, but I'm having a hard time understanding this:

```css
\31\.1-start] 1fr [\31\.1-end
```

what is the `\` for? What does that do? also, why is there a `3` on every line? What is that for? And there are no square brackets at the beginning and end of each column definition? 

Could I write it like this?

```css
grid-template-columns:
  [1_1-start] 1fr [1_1-end]
  [1_2-start] 1fr [1_2-end]
;
```

...for each line? Is there anything about that that wouldn't work?

-- 
GitHub Notification of comment by rchrdnsh
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4892#issuecomment-604125935 using your GitHub account
Received on Wednesday, 25 March 2020 22:44:19 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:42:02 UTC