کد:
کد:
<style>/* - Create Opera Logo with CSS 3.0 new properties
- Copyright (C) 2010 by emad feiz
- http://morixer.r98.ir */
#opera-logo
{
margin: 0 auto;
width: 500px;
height: 550px;
position: relative;
}
#opera-logo div
{
position: absolute;
}
#opera-logo .light-shadow
{
width: 300px;
height: 50px;
left: 100px;
top: 350px;
-moz-border-radius: 200px/50px;
-webkit-border-radius: 200px 50px;
border-radius: 200px/50px;
-moz-box-shadow: 0 100px 30px #c9c9c9;
-webkit-box-shadow: 0 100px 30px #c9c9c9;
box-shadow: 0 100px 30px #c9c9c9;
}
#opera-logo .dark-shadow
{
width: 200px;
height: 50px;
left: 150px;
top: 350px;
-moz-border-radius: 200px/50px;
-webkit-border-radius: 200px 50px;
border-radius: 200px/50px;
-moz-box-shadow: 0 100px 30px #535252;
-webkit-box-shadow: 0 100px 30px #535252;
box-shadow: 0 100px 30px #535252;
border: 1px solid #000;
}
#opera-logo .outer-edge
{
width: 400px;
height: 430px;
left: 50px;
top: 60px;
-moz-border-radius: 330px/350px;
-webkit-border-radius: 330px 350px;
border-radius: 330px/350px;
background: #800;
background: -moz-linear-gradient(-90deg, #FE878A, #E71616 50%, #800000 80%, #800000 85%, #b80304);
background: -webkit-gradient(linear, left top, left bottom, from(#FE878A),
color-stop(50%, #E71616), color-stop(80%, #800000),
color-stop(85%, #800000), to(#b80304));
}
#opera-logo .highlight
{
width: 400px;
height: 427px;
left: 50px;
top: 63px;
-moz-border-radius: 330px/350px;
-webkit-border-radius: 330px 350px;
border-radius: 330px/350px;
background: #d40009;
background: -moz-linear-gradient(-90deg, #FCC, #E71616 50%, #d40009);
background: -webkit-gradient(linear, left top, left bottom, from(#FCC),color-stop(50%, #E71616), to(#d40009));
}
#opera-logo .fill
{
width: 400px;
height: 420px;
left: 50px;
top: 70px;
-moz-border-radius: 330px/350px;
-webkit-border-radius: 330px 350px;
border-radius: 330px/350px;
background: #E71616;
background: -moz-linear-gradient(-90deg, #FE878A, #E71616 50%, #800000 80%, #800000 85%, #b80304);
background: -webkit-gradient(linear, left top, left bottom, from(#FE878A),
color-stop(50%, #E71616), color-stop(80%, #800000),
color-stop(85%, #800000), to(#b80304));
}
#opera-logo .inner-edge
{
width: 150px;
height: 350px;
left: 175px;
top: 100px;
-moz-border-radius: 110px/250px;
-webkit-border-radius: 110px 250px;
border-radius: 110px/250px;
background: #d20000;
background: -moz-linear-gradient(-90deg, #cc3836, #d9100f 50%, #d20000);
background: -webkit-gradient(linear, left top, left bottom, from(#cc3836),
color-stop(50%, #d9100f), to(#d20000));
}
#opera-logo .inner
{
width: 144px;
height: 344px;
left: 178px;
top: 103px;
-moz-border-radius: 110px/250px;
-webkit-border-radius: 110px 250px;
border-radius: 110px/250px;
background: #b80000;
background: -moz-linear-gradient(-90deg, #9a0000, #b80000);
background: -webkit-gradient(linear, left top, left bottom, from(#9a0000), to(#b80000));
}
#opera-logo .ring
{
width: 120px;
height: 320px;
left: 190px;
top: 115px;
-moz-border-radius: 100px/250px;
-webkit-border-radius: 110px 250px;
border-radius: 100px/250px;
background-color: #fff;
}
</style>
<div id="opera-logo">
<div class="light-shadow"></div>
<div class="dark-shadow"></div>
<div class="outer-edge"></div>
<div class="highlight"></div>
<div class="fill"></div>
<div class="inner-edge"></div>
<div class="inner"></div>
<div class="ring"></div>
</div>

