I came across an issue while using material UI: I need to add prefixes to CSS for my app to work in older browsers, for example:
display:flex;
What I'm looking for is a way to automatically add compatibility after packaging, like this:
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
This is how my css was structured:
import { withStyles } from '@material-ui/core';
const styles={
root:{
display:flex
}
}
export default withStyles(styles)(APP)
Does anyone have suggestions on how to resolve this? Any help would be appreciated.