Skip to content

Commit e85019f

Browse files
committed
Add docs about browsers list post processing CSS
1 parent 789933c commit e85019f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

packages/react-scripts/template/README.md

+4
Original file line numberDiff line numberDiff line change
@@ -596,6 +596,10 @@ This will allow you to do imports like
596596

597597
This project setup minifies your CSS and adds vendor prefixes to it automatically through [Autoprefixer](https://github.com/postcss/autoprefixer) so you don’t need to worry about it.
598598

599+
Support for new CSS features like the [`all` property](https://developer.mozilla.org/en-US/docs/Web/CSS/all), [`break` properties](https://www.w3.org/TR/css-break-3/#breaking-controls), [custom properties](https://developer.mozilla.org/en-US/docs/Web/CSS/Using_CSS_variables), and [media query ranges](https://www.w3.org/TR/mediaqueries-4/#range-context) are automatically polyfilled to add support for older browsers.
600+
601+
You can customize your target support browsers by adjusting the `browserslist` key in `package.json` accoring to the [Browserslist specification](https://github.com/browserslist/browserslist#readme).
602+
599603
For example, this:
600604

601605
```css

0 commit comments

Comments
 (0)