LOADING...

Preview

Pen ID
Unlock Campus Themeforest adv

 

Code
CSS
#container {
    margin-top: 50px;
    margin-left: 200px;
}

.dog-head {
  z-index: 100;
  -webkit-animation: head-move 1s ease-in-out infinite;
}

div.dog-body {
  height: 300px;
  width: 225px;
  margin-top: -175px;
  margin-left: 40px;
  background-image: url('http://www.clker.com/cliparts/T/0/9/J/e/4/dog-body-md.png');
  background-repeat: no-repeat;
}



/*ANIMATIONS
---------------------------------------------------------*/

@-webkit-keyframes head-move {
  50% { 
    -webkit-transform: rotate(-1.5deg); 
  }
}

Description

Experimenting with CSS animation
Term
Fri, 01/12/2018 - 16:39

Related Codes

Pen ID
Pen ID
Pen ID
Square Adv