CodePen

HTML

            
              <div id="go">

  <a href="#go">Animate</a> <a href="#reset">Reset</a>

	<div class="one">
	  <div class="box">
    </div>
  </div>

</div>
            
          
!

CSS

            
              .box {
  background: blue;
  width: 100px;
  height: 100px;
  margin-top: 30px;
  -webkit-transition: 4s steps(4);
  transition: 4s steps(4);
}

#go:target .box {
  -webkit-transform: translate(400px);
  transform: translate(400px);
}

body {
  font: .7em Arial;
}

a {
  padding: 5px 10px;
  background: blue;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.2em;
  margin-top: 10px;
  display: inline-block;
}

a:hover {
  opacity: 0.6;
}

p {
  font-size: 1.2em;
}
            
          
!
? ?
? ?
Must be a valid URL.
+ add another resource
via CSS Lint

JS

            
              
            
          
!
Must be a valid URL.
+ add another resource
via JS Hint
Loading ..................