Skip to content

Commit

Permalink
Fix control comment fo CSS Grid prefixing (#6061)
Browse files Browse the repository at this point in the history
"on" value of "autoprefixer grid" is kinda deprecated. It's better to use "autoplace" or "no-autoplace" instead.
https://github.com/postcss/autoprefixer#options

"autoplace" enables PostCss' autoplace polyfill for ie and makes prefixes, "no-autoplace" only makes prefixes
https://github.com/postcss/autoprefixer#does-autoprefixer-polyfill-grid-layout-for-ie
  • Loading branch information
Denis Mukhametov authored and Timer committed Dec 23, 2018
1 parent c171404 commit 0f4781e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docusaurus/docs/post-processing-css.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@ If you need to disable autoprefixing for some reason, [follow this section](http

[CSS Grid Layout](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Grid_Layout) prefixing is disabled by default, but it will **not** strip manual prefixing.
If you'd like to opt-in to CSS Grid prefixing, [first familiarize yourself about its limitations](https://github.com/postcss/autoprefixer#does-autoprefixer-polyfill-grid-layout-for-ie).<br>
To enable CSS Grid prefixing, add `/* autoprefixer grid: on */` to the top of your CSS file.
To enable CSS Grid prefixing, add `/* autoprefixer grid: autoplace */` to the top of your CSS file.

0 comments on commit 0f4781e

Please sign in to comment.