Skip to content

Commit 0f4781e

Browse files
Denis MukhametovTimer
Denis Mukhametov
authored andcommitted
Fix control comment fo CSS Grid prefixing (#6061)
"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
1 parent c171404 commit 0f4781e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docusaurus/docs/post-processing-css.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,4 +40,4 @@ If you need to disable autoprefixing for some reason, [follow this section](http
4040

4141
[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.
4242
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>
43-
To enable CSS Grid prefixing, add `/* autoprefixer grid: on */` to the top of your CSS file.
43+
To enable CSS Grid prefixing, add `/* autoprefixer grid: autoplace */` to the top of your CSS file.

0 commit comments

Comments
 (0)