<div id="block"></div>
#block{
  	position:absolute;
    left: 50%;
    top: 50%;
    width: 100px;
    height: 100px;
    margin: -50px 0 0 -50px;
    background: #0c8;
    line-height: 100px;
    text-align: center;
    color: #fff;
    cursor: pointer;
    border-radius: 100%;
    animation: roll 4.0s linear 0s infinite;
    transform-origin: 0 100px;
}

  @keyframes roll{
    0%{transform:rotate(0deg)}
    50%{transform:rotate(360deg)}
    100%{transform:rotate(0deg)}
  }

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.