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

Re: [csswg-drafts] [css-grid] Styling Grid Gaps/Gutters (#2748)

From: Jonathan Johnson via GitHub <sysbot+gh@w3.org>
Date: Fri, 06 Mar 2020 18:03:57 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-595889781-1583517836-sysbot+gh@w3.org>
In order to create this calendar with the lines demarcating each hour (and half hour in a lighter shade) we currently have to create 24 extra divs just for styling.

```html
<div class="hour-border hour-0"></div>
<div class="half-hour-border half-hour-0"></div>
<div class="hour-border hour-1"></div>
<div class="half-hour-border half-hour-1"></div>
...
```
<img width="1355" alt="weekly-calendar" src="https://user-images.githubusercontent.com/349624/76109434-4a51e880-5f91-11ea-86fc-3e0c618037a9.png">


-- 
GitHub Notification of comment by jrjohnson
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2748#issuecomment-595889781 using your GitHub account
Received on Friday, 6 March 2020 18:03:59 UTC

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