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

Re: [csswg-drafts] [css-conditional] testing support of properties and values with partial implementations (#3559)

From: Marcello via GitHub <sysbot+gh@w3.org>
Date: Wed, 30 Dec 2020 20:38:52 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-752751173-1609360731-sysbot+gh@w3.org>
Is there any development on doing this either through an alias or an improvement to @supports? Using `gap` in the context of Flexbox is virtually non-existent to me since it's not checkable.

I'm stumble upon the above modified Modernizr check but frankly it's at that point much easier to use a mixing through some CSS framework to "mask" gap so for instance calling a mixing called "gap" via `gap(value)` to something like

```css
& > :not(:last-child) {
  margin-right: value;
}
```
for instance. Obviously you'd have to account for Flexbox direction to make it a bit more generic, but imo just ignoring the feature all together and using mixing, which is virtually available in all CSS frameworks such as Sass, seems perhaps more straightforward.

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 30 December 2020 20:38:53 UTC

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