, , , -, .
, , , z-. , , . CSS3, , .
jsFiddle.
, , , .
#circ {
border-radius: 40px;
width:40px;
height:40px;
box-shadow: 0px 0px 10px #999;
position: absolute;
left: 37px;
top: 77px;
background: #fcfcfc;
position:absolute;
left: 40px;
top:75px;
background: -moz-linear-gradient(top, #fcfcfc 0%, #cccccc 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #fcfcfc), color-stop(100%, #cccccc));
background: -webkit-linear-gradient(top, #fcfcfc 0%, #cccccc 100%);
background: -o-linear-gradient(top, #fcfcfc 0%, #cccccc 100%);
background: -ms-linear-gradient(top, #fcfcfc 0%, #cccccc 100%);
background: linear-gradient(to bottom, #fcfcfc 0%, #cccccc 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fcfcfc', endColorstr='#cccccc', GradientType=0);
z-index: -1;
}
#rect {
width:200px;
height:80px;
background: #fcfcfc;
position:relative;
left: 50px;
top:50px;
box-shadow: 0px 0px 10px #999;
background: -moz-linear-gradient(top, #fcfcfc 0%, #cccccc 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #fcfcfc), color-stop(100%, #cccccc));
background: -webkit-linear-gradient(top, #fcfcfc 0%, #cccccc 100%);
background: -o-linear-gradient(top, #fcfcfc 0%, #cccccc 100%);
background: -ms-linear-gradient(top, #fcfcfc 0%, #cccccc 100%);
background: linear-gradient(to bottom, #fcfcfc 0%, #cccccc 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fcfcfc', endColorstr='#cccccc', GradientType=0);
}
#circ2 {
border-radius: 40px;
width:40px;
height:40px;
position: absolute;
left: 37px;
top: 77px;
background: #fcfcfc;
position:absolute;
left: 40px;
top:75px;
background: -moz-linear-gradient(top, #fcfcfc 0%, #cccccc 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #fcfcfc), color-stop(100%, #cccccc));
background: -webkit-linear-gradient(top, #fcfcfc 0%, #cccccc 100%);
background: -o-linear-gradient(top, #fcfcfc 0%, #cccccc 100%);
background: -ms-linear-gradient(top, #fcfcfc 0%, #cccccc 100%);
background: linear-gradient(to bottom, #fcfcfc 0%, #cccccc 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fcfcfc', endColorstr='#cccccc', GradientType=0);
}