as a medium of learning I try to replicate some things I see in the Internet. A friend of mine that knows what am I doing, saw a template and asked me to replicate part of it for his web page, I already have most of what I needed from the template, but the thing he liked the most I tried and failed and I am not understanding what is the magic involved in this template…
What I need is to replicate the main sheet transparency and the light effect behind it, the transparency I made was with a black 1×1 png made on the GIMP(I can’t buy the Photoshop) I also have a nice pattern like in the template since it is one of the things my friend asked…

this is the effect I want, I tried messing around with shadows, but didn’t get what i wanted I ended up deleting the code, now all I have is this:
HTML:
<body>
<div id="box"></div>
<div id="light"></div>
CSS:
#light{
border:solid 0px white;
height:550px;
width:800px;
left:50%;
margin-top:130px;
margin-left:-400px;
z-index:-1000;
position:absolute;
box-shadow: 0px 0px 300px #929292;
border-radius:100px;
background-color:#929292;
opacity:0.4;
}
#box{
background-image:url(../images/shtr.png);
margin:0px auto 0px;
width:1060px;
height:auto;
border:solid 0px white;
}
i don’t know if i need to use jquery or javascript, or if that would help in the page performance…
I managed to get it done, i created a new div that casts a shadow, placed it outside of the screen(left:100%;) and the shadow is casted to the center with the color #CECECE the HTML code:
in the CSS :
and to cast the shadow I used a jQuery script, via only css it wasn’t working i don’t know exactly why… the code: