wrote a css mask, which is similar to the effect of the bootstrap pop-up window
<div class="alert-container">
<div class="alert-content"></div>
</div>
set the css of alert-container to
position: fixed;
background: rgba(0,0,0,0.70);
top: 0;
bottom: 0;
left: 0;
right: 0;
but the content under the background can be scrolled, and I don"t know how to solve the problem that can be scrolled in the following part
I wonder if there is a way not to use js