LOADING...

Preview

Pen ID
Unlock Campus Themeforest adv

 

Code
CSS
.brand-ctn {
  height: 100px;
  position: relative;
  width: 300px;
}

/* Logo Styles */
.logo {
  text-align: right;
  width: 60%;
  vertical-align: middle;
}

.logo-text {
  color: #00aae7;
  font-family: 'Fredoka One', cursive;
  font-size: 4.2em;
  margin: 0;
}

.logo-small {
  font-size: 0.7em;
}

.logo-copyright {
  font-size: 0.2em;
}

.animals {
  width: 40%;
}

/* Dog Styles */
.dog {
  height: 100px;
  position: relative;
  width: 100px;
}

[class^="dog-"] {
  background-color: #00aae7;
  position: absolute;
}

.dog-head {
  animation: bark 500ms linear 0.5s 2 normal;
  border-radius: 50% 50% 50% 70%;
  height: 26%;
  left: 15%;
  top: 18%;
  width: 25%;
}

.dog-snout {
  border-radius: 18% 0 25% 55%;
  height: 40%;
  left: -30%;
  top: 35%;
  width: 45%;
}

.dog-ear {
  border-radius: 0 100% 0 0;
  height: 45%;
  left: 48%;
  top: -22%;
  width: 35%;
}

.dog-body {
  border-radius: 50% 38% 45% 65%;
  height: 56%;
  left: 27%;
  top: 33%;
  transform: rotate(-30deg);
  width: 31%;
}

.dog-front-leg {
  border-radius: 5% 5% 5% 65%;
  height: 55%;
  left: -18%;
  top: 30%;
  transform: rotate(30deg);
  width: 15%;
}

.dog-front-leg:after {
  background-color: #00aae7;
  border-radius: 80% 55% 25% 15%;
  bottom: -9%;
  content: '';
  display: block;
  height: 15%;
  left: -80%;
  position: absolute;
  width: 180%;
}

.dog-back-leg {
  border-radius: 60%;
  bottom: -12%;
  height: 50%;
  right: 12%;
  transform: rotate(30deg);
  width: 70%;
}

.dog-back-leg:after {
  background-color: #00aae7;
  border-radius: 80% 55% 25% 15%;
  bottom: 0%;
  content: '';
  display: block;
  height: 15%;
  left: -35%;
  position: absolute;
  width: 100%;
}

.dog-tail {
  border-radius: 25% 0 50% 15%;
  bottom: -10%;
  height: 30%;
  right: 0;
  transform: rotate(40deg);
  width: 23%;
}

.dog-tail:after {
  animation: wag 400ms linear 1s 3 normal;
  background-color: #00aae7;
  border-radius: 25% 80% 10% 15%;
  content: '';
  display: block;
  height: 150%;
  position: absolute;
  right: 50%;
  top: -130%;
  transform: rotate(-15deg);
  width: 110%;
}

@keyframes wag {
  0%   { transform: rotate(-17deg); }
  25%  { transform: rotate(-13deg); }
  50%  { transform: rotate(-17deg); }
  75%  { transform: rotate(-13deg); }
  100% { transform: rotate(-15deg); }
}

@keyframes bark {
  0%   { transform: rotate(0deg); }
  50%  { transform: rotate(5deg); }
  100% { transform: rotate(0deg); }
}

/* Cat Styles */
.cat {
  height: 80px;
  margin-top: -49px;
  margin-left: -1px;
  position: absolute;
  width: 80px;
}

[class^="cat-"] {
  background-color: #ec3423;
  margin: 0 auto;
  position: relative;
}

.cat-head {
  animation: tilt 3s ease-in-out 0.5s;
  border-radius: 50%;
  height: 18%;
  top: 5%;
  width: 20%;
}

.cat-ear {
  height: 32%;
  position: absolute;
  top: -13%;
  width: 45%;
}

.cat-ear.left {
  border-radius: 100% 0 0 0;
  left: -2%;
  transform: rotate(-25deg);
}

.cat-ear.right {
  border-radius: 0 100% 0 0;
  right: -2%;
  transform: rotate(25deg);
}

.cat-body {
  border-radius: 40% 40% 0 0;
  height: 35%;
  width: 20%;
}

.cat-leg {
  border-radius: 80% 80% 0 0;
  bottom: 0;
  height: 55%;
  position: absolute;
  width: 40%;
}

.cat-leg.left {
  left: -15%;
}

.cat-leg.right {
  right: -15%;
}

.cat-tail {
  border-radius: 12%;
  bottom: 15%;
  height: 70%;
  position: absolute;
  right: -25%;
  transform: rotate(12deg);
  width: 15%;
}

.cat-tail:after {
  animation: wiggle 1s linear 0.5s 2;
  background-color: #ec3423;
  border-radius: 70% 20% 0 25%;
  content: '';
  height: 50%;
  left: 25%;
  position: absolute;
  top: -42%;
  transform: rotate(10deg);
  width: 100%;
}

.cat-wiskers {
  background-color: transparent;
  bottom: 0;
  height: 55%;
  position: absolute;
  width: 100%;
}

.wisker {
  background-color: #ec3423;
  height: 5%;
  position: absolute;
  width: 35%;
}

.wisker.one {
  left: -12%;
  top: 0;
  transform: rotate(45deg);
}

.wisker.two {
  left: -14%;
  top: 20%;
}

.wisker.three {
  bottom: 50%;
  left: -10%;
  transform: rotate(-45deg);
}

.wisker.four {
  right: -12%;
  top: 0;
  transform: rotate(-45deg);
}

.wisker.five {
  right: -14%;
  top: 20%;
}

.wisker.six {
  bottom: 50%;
  right: -10%;
  transform: rotate(45deg);
}

@keyframes wiggle {
  0% {
    border-radius: 70% 20% 0 25%;
    transform: rotate(10deg) translate(0, 0);
  }
  50% {
    border-radius: 20% 70% 25% 0;
    transform: rotate(-5deg) translate(-1px, 0);
  }
  100% {
    border-radius: 70% 20% 0 25%;
    transform: rotate(10deg) translate(0, 0);
  }
}

@keyframes tilt {
  0%   { transform: rotate(0deg);  }
  25%  { transform: rotate(10deg); }
  50%  { transform: rotate(10deg); }
  100% { transform: rotate(0deg);  }
}

/* Utils */
.table {
  display: table;
}

.table-cell {
  display: table-cell;
}
Term
Fri, 01/12/2018 - 16:44

Related Codes

Pen ID
Pen ID
Pen ID
Square Adv