how to create overlay on div ?
Answer / Krishna Gopal
To create an overlay on a div using CSS, you can use the following approach:
1. Create a new div for the overlay with a black background and full width and height. Set its position to absolute and z-index higher than the content div.
2. Hide the overlay initially using CSS display property (display: none).
3. Add an event handler for the content div to show or hide the overlay as needed.
| Is This Answer Correct ? | 0 Yes | 0 No |
What inheritance is and an example of when you might use it?
How do I create an aspx file?
can we place Global.asa into "bin" directory instead of Root directory?
What is the use of following Statement Response.Expires=120 A.The page will be removed form cache after 120 Hours B.The page will be removed form cache after 120 Sec C.The page will be removed form cache before 120 Min D.The page will be removed form cache after 2 Hours
What is the difference between Cookies collection and Form/Querystring collection?
How many global.asa files can an Application have?
Explain the life cycle of asp page.
What is pdf aspx?
Define unmanaged code?
What is a FileSystemObject object?
what is execute dataset for sp
Explain the difference between client-side script and server-side script?