Hello, I am attempting to achieve a specific effect on my webpage. When the page loads, I would like a popup to appear at the center of the screen. To accomplish this, I have created a div element and initially set its display property to 'none'. In my document ready function, I have written the following code:
$("document").ready(function (){
$(".box").show();
});
With this code, the div is shown on the page. However, I want the div to resemble a popup with a 3D shading effect as shown in the attached image. How can I achieve this? Any suggestions or guidance would be greatly appreciated.
Here is the updated code snippet that I have tried:
-webkit-box-shadow: 0 10px 6px -6px #777;
-moz-box-shadow: 0 10px 6px -6px #777;
box-shadow: 0 10px 6px -6px #777;
However, this code only applies a shadow effect to the bottom and right sides of the div. I am looking for a solution to create a more comprehensive 3D shading effect for the popup. Thank you for your help!