After submitting the page, I would like to display a loading image in the middle of the page with a transparent background. The current styling code I have used is as follows:
#loading {
position: fixed;
top: 50%;
left: 50%;
z-index: 1104;
background-color: #999999;
width: 100%;
height: 100%;
}
I am seeking help on how to modify this styling to ensure that the loading image is centered on the page and the content is slightly visible along with it.
Please note that I am only interested in the styling aspect and not the JavaScript part. Thank you.