csstools/cssdb

Add unprefixed gap property

yepninja opened this issue · 4 comments

More info here postcss/autoprefixer#1021

It's would be good to add this feature to cssdb, then create a postcss plugin and add it to postcss-preset-env.

@jonathantneal what do you think?

I like it. And it’s already CR, therefore Stage 4:
https://www.w3.org/TR/css-grid-1/#gutters

I don’t like that it’s lacking caniuse data:
Fyrd/caniuse#3989

Possible JSON addition:

{
  "id": "gap-properties",
  "title": "`gap`, `column-gap`, and `row-gap` Properties",
  "description": "Properties for defining gutters within a Grid layout",
  "specification": "https://www.w3.org/TR/css-grid-1/#gutters",
  "stage": 4,
  "example": ".grid {\n  column-gap: 25px;\n  row-gap: 10px;\n}",
  "polyfills": [
    {
      "type": "PostCSS Plugin",
      "link": "https://github.com/jonathantneal/postcss-gap-properties"
    }
  ]
}

A PostCSS gap properties plugin has been published https://jonathantneal.github.io/postcss-gap-properties/

Added in cssdb 2.1.0!

Available in Edge 16
Available in Chrome 66
Available in Firefox 61
Available in Safari 11.2

Thanks a lot!