Penguin by

Inna

On: 14 Jun 2016

<div class="container">
  <div class="penguin1">
    <div class="body">
      <div class="belly"></div>
    </div>
    <div class="penguin-head"> 
      <div class="face"></div>
      <div class="lcheek"></div>
      <div class="rcheek"></div>
      <div class="reye"></div>
      <div class="leye"></div>
      <div class="beak">
        <div class="smile"></div>
      </div>
    </div>  
    <div class="rwing"></div>
    <div class="lwing"></div>
    <div class="scarf"></div>
    <div class="tie"></div>
    <div class="lleg"></div>
    <div class="rleg"></div>
  </div>
<div class="penguinette">
  <div class="nette-body">
    <div class="nette-belly"></div>
    <div class="nette-wing"></div>
  </div>
  <div class="nette-head">
    <div class="nette-face">
      <div class="nette-eye"></div>
      <div class="nette-beak"></div>
    </div>
    <div class="nette-hat">
      <div class="pon"></div>
    </div>
  </div>
  <div class="nette-legs"></div>
</div>
<div class="ice"></div>
</div></body></html>
<html><head><style>.head{
  top: 20px;
}
.penguin-head {
  background-color: black;
  border-radius: 80px;
  height: 90px;
  left: 71px; 
  width: 95px;
  top: 8px;
  position: relative;
}

.face {
  position: absolute;
  width: 25px;
  height: 25px;
  top: 20px;
  left: 5px;
}
.face:before,
.face:after {
  position: absolute;
  content: "";
  left: 45px;
  width: 40px;
  height: 75px;
  background: white;
  border-radius: 30px 30px 0 0;
  transform: rotate(-45deg);
  transform-origin: 0 100%;
}
.face:after {
  left: 0;
  transform: rotate(45deg);
  transform-origin :100% 100%;
}

.body {
  display:block;
  width: 120px;
  height: 110px;
  top: 60px;
  left: 60px;
  background-color: black;
  position: absolute;
  border-radius: 50%  54%  50%  50%  / 60%   60%   40%  40%;  
}

.belly {
  display:block;
  width: 90px;
  height: 80px;
  bottom: 20px;
  left: 15px;
  background-color: white;
  position: absolute;
  -webkit-border-radius: 93px 93px 93px 93px / 108px 108px 72px 72px;
  border-radius:         50%  50%  50%  50%  / 60%   60%   40%  40%;  
}

.beak {
	width: 32px;
	height: 10px;
	background: darkorange;
	border-radius: 130px / 60px;
  border: 1.5px solid black;
  position: absolute;
  top: 45px;
  left: 31px;
}

.smile {
  border: 1px solid black;
  width: 25px;
  height: 3px;
  border-radius: 50%;
  border-left-color: transparent;
  border-top-color: transparent;
  border-right-color: transparent;
  position: absolute;
  top: 3px;
  left: 2.5px;
}

.lcheek {
  width: 22px;
	height: 10px;
	background: pink;
	border-radius: 100px / 50px;
  position: absolute;
  top: 43px;
  left: 8px;
  opacity: 0;
  
  animation-name: blush;
  animation-duration: 8s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}
.rcheek {
  width: 22px;
	height: 10px;
	background: pink;
	border-radius: 100px / 50px;
  position: absolute;
  top: 43px;
  left: 66px;
  opacity: 0;
  
  animation-name: blush;
  animation-duration: 8s;
  animation-timing-function: ease-out;
  animation-iteration-count: infinite;
 }

.scarf {
  width: 100px;
	height: 30px;
	background: darkgreen;
  border: 2px solid black;
  border-top-right-radius: 12px;
  border-top-left-radius: 12px;
  border-bottom-right-radius: 20px;
  border-bottom-left-radius: 20px;
  position: absolute;
  left: 67px;
  top: 67px;
}

.tie {
  width: 40px;
	height: 50px;
	background: darkgreen;
  border: 2px solid black;
  border-top-right-radius: 10px;
  border-top-left-radius: 15px;
  border-bottom-right-radius: 20px;
  border-bottom-left-radius: 20px;
  position: absolute;
  left: 67px;
  top: 67px;
}

.lwing {
  border-radius: 70px 0 / 20px 0;
  top: 90px;
  left: px;
  background: black;
  height: 22px;
  width: 55px;
  left: 35px;
  position: absolute;
  transform: rotate(-45deg);
}

.rwing {
  border-radius: 70px 0 / 20px 0;
  top: 80px;
  left: px;
  background: black;
  height: 22px;
  width: 55px;
  left: 155px;
  position: absolute;
  transform: rotate(-155deg);
}

.leye {
  border: 2px solid black;
  width: 1px;
  height: 4px;
  padding: 0.5em;
  border-radius: 50%;
  border-left-color: transparent;
  border-bottom-color: transparent;
  border-right-color: transparent;
  position: absolute;
  top: 39px;
  left: 17px;
}

.reye {
  border: 2px solid black;
  display: inline-block;
  width: 1px;
  height: 4px;
  padding: 0.5em;
  border-radius: 50%;
  border-left-color: transparent;
  border-bottom-color: transparent;
  border-right-color: transparent;
  position: absolute;
  top: 39px;
  left: 58px;
}

.lleg {
  width: 32px;
	height: 9px;
	background: darkorange;
	border-radius: 100px / 40px;
  border-bottom-right-radius: 20px;
  border-bottom-left-radius: 20px;
  border: 1px solid black;
  position: absolute;
  top: 160px;
  left: 85px;
}

.rleg {
  width: 32px;
	height: 9px;
	background: darkorange;
	border-radius: 100px / 40px;
  border-bottom-right-radius: 20px;
  border-bottom-left-radius: 20px;
  border: 1px solid black;
  position: absolute;
  top: 160px;
  left: 120px;
}

.nette-body {
  display:block;
  width: 80px;
  height: 95px;
  top: 75px;
  left: 200px;
  background-color: black;
  position: absolute;
  border-radius: 50%  50%  40%  50%  / 60%   60%   40%  30%; 
}

.nette-belly {
  position: absolute;
  background-color: white;
  display:block;
  width: 38px;
  height: 57px;
  left: -1px;
  top: 25px;
  border-radius: 50%  60%  50%  50%  / 60%   35%   40%  40%; 
}

.nette-head {
  width: 75px;
	height: 70px;
	background: black;
	border-radius: 50px;
  position: absolute;
  left: 200px;
  top: 35px;
}

.nette-face {
  width: 42px;
	height: 45px;
	background: white;
	border-radius: 50px;
  position: absolute;
  left: 1px;
  top: 18px;
}

.nette-hat {
  width: 62px;
	height: 32px;
	background: darkred;
  border: 2px solid black;
  border-top-right-radius: 70px;
  border-top-left-radius: 80px;
  border-bottom-right-radius: 10px;
  border-bottom-left-radius: 0px;
  position: absolute;
  left: 25px;
  top: -1px;
  transform: rotate(50deg);
}

.nette-eye {
  border: 2px solid black;
  display: inline-block;
  width: 1px;
  height: 4px;
  padding: 0.5em;
  border-radius: 50%;
  border-left-color: transparent;
  border-bottom-color: transparent;
  border-right-color: transparent;
  position: absolute;
  top: 18px;
  left: 2px;
}

.nette-beak {
  width: 10px;
	height: 7px;
	background: darkorange;
	border-radius: 100px / 20px;
  border-bottom-right-radius: 50px;
  border-bottom-left-radius: 90px;
  border: 1px solid black;
  position: absolute;
  top: 24px;
  left: -8px;
}

.pon {
  width: 25px;
	height: 24px;
	background: linear-gradient(pink, darkred);
  border-radius: 20px;
  border: 2px solid black;
  position: absolute;
  left: 35px;
  top: -10px;
}

.nette-wing {
  width: 35px;
	height: 20px;
	background: black;
	border-radius: 100px / 20px;
  border-bottom-right-radius: 50px;
  border-bottom-left-radius: 90px;
  position: absolute;
  top: 32px;
  left: 8px;
}

.nette-legs {
  width: 45px;
	height: 7px;
	background: darkorange;
	border-radius: 100px / 40px;
  border-bottom-right-radius: 20px;
  border-bottom-left-radius: 20px;
  border: 1px solid black;
  position: absolute;
  top: 162px;
  left: 212px;
}

.penguinette {
  position: absolute;
  top: 0px;
  left: -10px;
  animation-name: hug;
  animation-duration: 8s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite; 
}

.ice {
  background: linear-gradient(white, lightblue);
  height: 20%;
  width: 340px;
  top: 171px;
  position: absolute;
}

.container {
  height: 200px;
  margin: 70px auto;
  width: 340px;
  background: linear-gradient(white, lightblue, gray);
  position: relative;
}

@keyframes blush {
  0% {
    opacity: 0;
  }
  25% {
    opacity: 0;
  }
  50%{
    opacity: 100;
  }
  75% {
    opacity: 50;
  }
  100% {
    opacity: 0;
  }
}

@keyframes hug {
  0% {
  transform: translate(0px, 0px);
  }
  25% {
  transform: translate(-40px, 0px);
  }
  50% {
    transform: translate(-40px, 0px); 
  }
  75% {
    transform: translate(-40px, 0px);
  }
  90% {
    transform: translate(0px, 0px);
  }
  100% {
    transform: translate(0px, 0px);
  }
}

</style></head><body style="overflow: hidden;">

31