Skip to content

Commit e1e8eb7

Browse files
author
Denis Mukhametov
authored
Fix control comment fo CSS Grid prefixing
"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 45bc628 commit e1e8eb7

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)