W3C home > Mailing lists > Public > public-css-archive@w3.org > December 2018

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

From: Sebastian Zartner via GitHub <sysbot+gh@w3.org>
Date: Thu, 27 Dec 2018 09:54:57 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-450118294-1545904496-sysbot+gh@w3.org>
@watershed Right, `gap-rule-interrupt` should follow the `gap` syntax, so first the row then the column.

Also, `gap-rule-interrupt` may also be included in the `gap-rule` shorthand, so the syntax for it would then be like this:

    gap-rule: [ <'gap-rule-width'> <'gap-rule-length'>? ] || [ [ <'gap-rule-style'> ||
    <'gap-rule-color'> ] | [ <'gap-rule-image'> ] ] || <'gap-rule-interrupt'>

So the full value to get the last example would be:

    gap-rule: 1px solid silver continuous interrupt;

To allow to set the vertical and horizontal rules individually, the `gap-rule` property could also be split up in `row-gap-rule` and `column-gap-rule`. 

Sebastian

-- 
GitHub Notification of comment by SebastianZ
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2748#issuecomment-450118294 using your GitHub account
Received on Thursday, 27 December 2018 09:54:58 UTC

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