{ width: 100px; height: 100px; background-color: #0CB1C4; animation-name: spin; animation-duration: 5000ms; animation-iteration-count: infinite; animation-timing-function: linear; /* transform: rotate(3deg); */ /* transform: rotate(0.3rad);/ */ /* transform: rotate(3grad); */ /* transform: rotate(.03turn); */ } @keyframes spin { from { transform:rotate(0deg); } to { transform:rotate(360deg); } }