Skip to content

Commit bf408bd

Browse files
committed
Add CSS Grid Layout instructions
1 parent e4270bd commit bf408bd

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Diff for: packages/react-scripts/template/README.md

+4
Original file line numberDiff line numberDiff line change
@@ -626,6 +626,10 @@ becomes this:
626626

627627
If you need to disable autoprefixing for some reason, [follow this section](https://github.com/postcss/autoprefixer#disabling).
628628

629+
[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.
630+
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>
631+
To enable CSS Grid prefixing, add `/* autoprefixer grid: on */` to the top of your CSS file.
632+
629633
## Adding Images, Fonts, and Files
630634

631635
With Webpack, using static assets like images and fonts works similarly to CSS.

0 commit comments

Comments
 (0)