Hi I used tailwind in my react project but when I build the project, the autoprefixer doesn't work properly
tailwind.config.js:
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ["./src/**/*.{html,js}"],
theme: {
container: {
center: true,
padding: "1rem",
},
extend: {},
},
},
plugins: [
require('autoprefixer')
]
};
I wanna autoprefixer work for every flex property like:
.flex{
display: flex;
}
to
.flex{
display: -webkit-box;
display: -ms-flexbox;
display: flex;
}
browserslist package.json:
{
....
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
...
}
I want all flex properties to work in all browsers, because, for example, on an old phone in the Safari browser, the gap property does not work correctly.
