ReactJS: Material ui breakpoints
问题 What is the difference between breakpoints.up , breakpoints.down , breakpoints.between and breakpoints.value ? And what is meant by this code, how breakpoints value is working here? Is theme.spacing.unit*2*2 = theme.spacing.unit*4 or it has some other meaning? [theme.breakpoints.up(600 + theme.spacing.unit * 2 * 2)]: { width: 600, marginLeft: 'auto', marginRight: 'auto', }, 回答1: Material uses the following set of breakpoints. You can customize the values of this breakpoint in the theme.