<div class='wrapper'>


  <div class="bg">
    <div class="lefox">
    </div>
    <div class="ground">

    </div>
  </div>



</div>
  body {
      font-family: Segoe UI, verdana, arial, sans-serif;
      font-size: 16px;
      width: 100%;
      height: 100%;
    }

    body > * {
      box-sizing: border-box;
    }

  
      
    .wrapper {
      background-color: skyblue;
      position: absolute;
      top: 0;
      left: 0;
      bottom: 0;
      right: 0;
      overflow: hidden;
    

    }

    .ground {
      position: absolute;
      width: 500px;
      height: 200px;
      background-color: green;
      z-index: 100;
      border-radius: 50%;
      bottom: -138px;
    }

    .lefox {
      -moz-animation: ffox 4s steps(44) infinite;
      -webkit-animation: ffox 4s steps(44) infinite;
      background: url(http://davidwalsh.name/demo/foxtail.png) 0 0 no-repeat transparent;
      position: absolute;
      left: 90px;
      bottom: 50px;
      height: 156px;
      width: 156px;
      z-index: 101;
    }

    @-moz-keyframes ffox {
      from {
        background-position: -6864px 0px;
      }
      to {
        background-position: 0 0;
      }
    }

    @-webkit-keyframes ffox {
      from {
        background-position: -6864px 0px;
      }
      to {
        background-position: 0 0;
      }
    }

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

  1. //cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js