"Loading Animation"
Pure CSS 0.6.2 Snippet by testing223

<link href="//cdnjs.cloudflare.com/ajax/libs/pure/0.6.2/pure-min.css" rel="stylesheet" id="bootstrap-css"> <script src=""></script> <script src="//code.jquery.com/jquery-1.11.1.min.js"></script> <!------ Include the above in your HEAD tag ----------> <!DOCTYPE html> <html > <head> <meta charset="UTF-8"> <title>Loader</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.min.css"> <link rel="stylesheet" href="css/style.css"> </head> <body> <div class="container"> <div class="item item-1"></div> <div class="item item-2"></div> <div class="item item-3"></div> <div class="item item-4"></div> </div> </body> </html>
.container { position: absolute; width: 40px; height: 40px; top: 0; bottom: 0; left: 0; right: 0; margin: auto; } .item { width: 20px; height: 20px; position: absolute; } .item-1 { background-color: #FA5667; top: 0; left: 0; z-index: 1; animation: item-1_move 1.8s cubic-bezier(.6,.01,.4,1) infinite; } .item-2 { background-color: #7A45E5; top: 0; right: 0; animation: item-2_move 1.8s cubic-bezier(.6,.01,.4,1) infinite; } .item-3 { background-color: #1B91F7; bottom: 0; right: 0; z-index: 1; animation: item-3_move 1.8s cubic-bezier(.6,.01,.4,1) infinite; } .item-4 { background-color: #FAC24C; bottom: 0; left: 0; animation: item-4_move 1.8s cubic-bezier(.6,.01,.4,1) infinite; } @keyframes item-1_move { 0%, 100% {transform: translate(0, 0)} 25% {transform: translate(0, 20px)} 20% {transform: translate(20px, 20px)} 75% {transform: translate(20px, 0)} } @keyframes item-2_move { 0%, 100% {transform: translate(0, 0)} 25% {transform: translate(-20px, 0)} 20% {transform: translate(-20px, 20px)} 75% {transform: translate(0, 20px)} } @keyframes item-3_move { 0%, 100% {transform: translate(0, 0)} 25% {transform: translate(0, -20px)} 20% {transform: translate(-20px, -20px)} 75% {transform: translate(-20px, 0)} } @keyframes item-4_move { 0%, 100% {transform: translate(0, 0)} 25% {transform: translate(20px, 0)} 20% {transform: translate(20px, -20px)} 75% {transform: translate(0, -20px)} }

Related: See More


Questions / Comments: