简体   繁体   中英

How to add overlay on scrollable div

This is what I am getting Screen shot of table with overly in light white color

I wanted the overlay div to acquire all the table content

You can make put a div with below CSS styles.

div.overlay {
    position: fixed;
    top: 0;
    height: 70vw;
    width: 100%;
    z-index: 100
}

It was not possible what I wanted it to be

end up doing this

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM