【发布时间】:2019-01-05 06:16:05
【问题描述】:
我试图在显示进度条时覆盖屏幕,但覆盖不正确,几个 DIV 仍然突出显示,如图所示。
我使用以下 CSS 样式,请提出问题的原因
style = {
qoverlay: {
position: 'absolute',
top: '0',
left: '0',
background: 'rgba(0,0,0,0.6)',
'z-index': '50',
width: '100%',
height: '100%'
}
}
我正在使用material-ui/core/Dialog
<Dialog open={this.state.confirmOpen} aria-labelledby='form-dialog-title' style={this.style.qoverlay}>
【问题讨论】:
标签: css