1.PostCSS

Autoprefixer

(1) Autoprefixer automatically gets the browser’s popularity and supported properties, and automatically prefixes CSS rules based on this data. (2) Autoprefixer should no longer write private attribute prefixes in source code. The correct posture is to use the autoprefixer tool to automatically complete the required prefixes for compiled CSS during the project construction phase. Whether you use Webpack, gulp, Grunt or FIS, it works perfectly. (3) PC side, it is estimated that the unified, each browser manufacturer has their own private attributes, so, PC side development, you should learn to use this module: For Autoprefixer mobile, most devices currently have webKit-based browsers, although there are other vendors, but not the mainstream, so let it go. As a result, mobile can use almost none of these private prefixes, except for the -webkit- prefix that is compatible with older browsers due to version iteration.

2.can i use

Caniuse can check CSS, JS, and other compatibility, such as support for flex elastic layout properties in different browsers, at www.caniuse.com/