z-index tooltip
z-index modal
<Box sx={{ zIndex: 'tooltip' }}>
<Box sx={{ zIndex: 'modal' }}>
API
import { positions } from '@material-ui/system';
导入名称 | 属性 | CSS 属性 | Theme key |
---|---|---|---|
position |
position |
position |
none |
zIndex |
zIndex |
z-index |
zIndex |
top |
top |
top |
none |
right |
right |
right |
none |
bottom |
bottom |
bottom |
none |
left |
left |
left |
none |