<div id="wrapper">
<div id="base">
<div id="eyes"><span class="eyeball" id="leftEye"></span><span class="eyeball" id="rightEye"></span></div><!--END eyes-->
<div id="bracket">
<div id="mouth">
<div id="throat">
<div id="tonsil"></div><!--END tonsil-->
</div><!--END throat-->
<div id="tongue"></div><!--END tongue-->
<div class="tooth" id="left"></div><!--END left Tooth-->
<div class="tooth" id="right"></div><!--END right Tooth-->
</div>
</div><!--END bracket-->
</div><!--END base-->
</div><!--END wrapper-->
*, *:before, *;after{box-sizing:border-box; -webkit-box-sizing:border-box; -moz-box-sizing:border-box;}
html{height:100%;}
body{
height:100%;
background:#015dac;
margin:0px; border:0px; padding:0px;
background-image: radial-gradient(#0175d5 13%, transparent 13%), radial-gradient(#0175d5 13%, transparent 13%);
background-size:50px 50px;
background-position: 0 0, 25px 25px;
}
div{position:relative; display:block;}
#wrapper{
position:absolute;
top:0; right:0; left:0; bottom:0;
margin:auto;
background: #deb300; /* Old browsers */
background: -moz-linear-gradient(top, #deb300 0%, #de9800 99%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#deb300), color-stop(99%,#de9800)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, #deb300 0%,#de9800 99%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, #deb300 0%,#de9800 99%); /* Opera 11.10+ */
background: -ms-linear-gradient(top, #deb300 0%,#de9800 99%); /* IE10+ */
background: linear-gradient(to bottom, #deb300 0%,#de9800 99%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#deb300', endColorstr='#de9800',GradientType=0 ); /* IE6-9 */
width:240px;
height:240px;
-webkit-border-radius:40px;
-moz-border-radius:40px;
border-radius:40px;
box-shadow: 0px 10px 10px #03458e;
}
#base{
position:relative;
top:15px;
margin-left:auto;
margin-right:auto;
width:210px;
height:210px;
-webkit-border-radius:33px;
-moz-border-radius:33px;
border-radius:33px;
background:#ffdd00;
box-shadow: inset 0px 3px 0px #ffea59, 0px 5px 4px #ca7800;
}
#eyes{
top:40px;
margin-left:auto;
margin-right:auto;
width:85px;
height:25px;
}
.eyeball{
background-color:#733a00;
background: -webkit-linear-gradient(135deg, #582c00, #733a00); /* For Safari 5.1 to 6.0 */
background: -moz-linear-gradient(135deg, #582c00, #733a00); /* For Firefox 3.6 to 15 */
background: linear-gradient(135deg, #582c00, #733a00); /* Standard syntax */
width:25px;
height:25px;
-webkit-border-radius:20px;
-moz-border-radius:20px;
border-radius:20px;
box-shadow: 0px 2px 2px #fcefa1;
}
#leftEye{float:left;}
#rightEye{float:Right;}
#bracket{
margin-left:auto;
margin-right:auto;
top: 60px;
overflow:hidden;
width:160px;
height:102px;
}
#mouth{
overflow:hidden;
margin-left:auto;
margin-right:auto;
top:-30px;
border-radius:30px;
width:160px;
height:130px;
box-shadow: 0px 2px 0px #ffedb7 ;
background: #7c3f00; /* Old browsers */
background: -moz-linear-gradient(top, #7c3f00 10%, #9d5000 71%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(10%,#7c3f00), color-stop(71%,#9d5000)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, #7c3f00 10%,#9d5000 71%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, #7c3f00 10%,#9d5000 71%); /* Opera 11.10+ */
background: -ms-linear-gradient(top, #7c3f00 10%,#9d5000 71%); /* IE10+ */
background: linear-gradient(to bottom, #7c3f00 10%,#9d5000 71%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#7c3f00', endColorstr='#9d5000',GradientType=0 ); /* IE6-9 */
}
#tongue{
left:-20px;
top:40px;
background-color:#ffa376;
width:200px;
height:200px;
border-radius:100px;
background: #ffa477; /* Old browsers */
background: -moz-linear-gradient(top, #ffa477 8%, #ff8b52 23%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(8%,#ffa477), color-stop(23%,#ff8b52)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, #ffa477 8%,#ff8b52 23%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, #ffa477 8%,#ff8b52 23%); /* Opera 11.10+ */
background: -ms-linear-gradient(top, #ffa477 8%,#ff8b52 23%); /* IE10+ */
background: linear-gradient(to bottom, #ffa477 8%,#ff8b52 23%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffa477', endColorstr='#ff8b52',GradientType=0 ); /* IE6-9 */
}
#throat{
top:60px;
margin-left:auto;margin-right:auto;
width: 80px;
height: 50px;
-moz-border-radius: 40px / 25px;
-webkit-border-radius: 40px / 25px;
border-radius: 40px / 25px;
overflow:hidden;
background: #5a2d00; /* Old browsers */
background: -moz-linear-gradient(top, #5a2d00 10%, #783000 71%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(10%,#5a2d00), color-stop(71%,#783000)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, #5a2d00 10%,#783000 71%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, #5a2d00 10%,#783000 71%); /* Opera 11.10+ */
background: -ms-linear-gradient(top, #5a2d00 10%,#783000 71%); /* IE10+ */
background: linear-gradient(to bottom, #5a2d00 10%,#783000 71%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#5a2d00', endColorstr='#783000',GradientType=0 ); /* IE6-9 */
}
#tonsil{
top:-20px;
background:#9d5000;
width:14px;
height:40px;
border-radius:40px;
margin-left:auto;
margin-right:auto;
}
.tooth{
background:white;
width:30px;
height:40px;
border-radius:8px;
}
#left{
top:-240px;
left:40px;
}
#right{
top:-280px;
left:90px;
}
/* Inspired by dribbbble shot designed by Soaper dribbble.com/shots/1413773-Soaper?list=show&tag=app_icon */
/* Personal learning exercise, a quick one.
- tried css pattern background. exciting.
Feedback, advice most welcomed, @itsonlyher */
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.