"animation"
Bootstrap 3.0.0 Snippet by evarevirus

<link href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//netdna.bootstrapcdn.com/bootstrap/3.0.0/js/bootstrap.min.js"></script> <script src="//code.jquery.com/jquery-1.11.1.min.js"></script> <!------ Include the above in your HEAD tag ----------> <!DOCTYPE html><html class=''> <head><script src='//production-assets.codepen.io/assets/editor/live/console_runner-079c09a0e3b9ff743e39ee2d5637b9216b3545af0de366d4b9aad9dc87e26bfd.js'></script><script src='//production-assets.codepen.io/assets/editor/live/events_runner-73716630c22bbc8cff4bd0f07b135f00a0bdc5d14629260c3ec49e5606f98fdd.js'></script><script src='//production-assets.codepen.io/assets/editor/live/css_live_reload_init-2c0dc5167d60a5af3ee189d570b1835129687ea2a61bee3513dee3a50c115a77.js'></script><meta charset='UTF-8'><meta name="robots" content="noindex"><link rel="shortcut icon" type="image/x-icon" href="//production-assets.codepen.io/assets/favicon/favicon-8ea04875e70c4b0bb41da869e81236e54394d63638a1ef12fa558a4a835f1164.ico" /><link rel="mask-icon" type="" href="//production-assets.codepen.io/assets/favicon/logo-pin-f2d2b6d2c61838f7e76325261b7195c27224080bc099486ddd6dccb469b8e8e6.svg" color="#111" /><link rel="canonical" href="https://codepen.io/fixcl/pen/lvCFr?limit=all&page=24&q=animation" /> <link rel='stylesheet prefetch' href='https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css'> <style class="cp-pen-styles">@import url(https://fonts.googleapis.com/css?family=Open+Sans:700); html, body { height: 100%; } body { overflow: hidden; } .hoja { color: #dcdce2; position: absolute; top: 50%; left: 50%; margin-left: -140px; margin-top: -140px; width: 280px; height: 280px; text-align: center; font-family: 'Open Sans', sans-serif; font-size: 35px; line-height: 280px; -webkit-font-smoothing: antialiased; } .hoja:after, .hoja:before { content: ""; border-radius: 100%; position: absolute; top: 0; left: 0; width: 100%; height: 100%; -webkit-transform-origin: center center; transform-origin: center center; } .hoja:after { box-shadow: inset 0 17.5px 0 rgba(250, 250, 0, 0.6), inset 17.5px 0 0 rgba(250, 200, 0, 0.6), inset 0 -17.5px 0 rgba(250, 150, 0, 0.6), inset -17.5px 0 0 rgba(250, 100, 0, 0.6); -webkit-animation: rotar 2s -0.5s linear infinite; animation: rotar 2s -0.5s linear infinite; } .hoja:before { box-shadow: inset 0 17.5px 0 rgba(0, 250, 250, 0.6), inset 17.5px 0 0 rgba(0, 200, 200, 0.6), inset 0 -17.5px 0 rgba(0, 150, 200, 0.6), inset -17.5px 0 0 rgba(0, 200, 250, 0.6); -webkit-animation: rotarIz 2s -0.5s linear infinite; animation: rotarIz 2s -0.5s linear infinite; } @-webkit-keyframes rotar { 0% { -webkit-transform: rotateZ(0deg) scaleX(1) scaleY(1); transform: rotateZ(0deg) scaleX(1) scaleY(1); } 50% { -webkit-transform: rotateZ(180deg) scaleX(0.82) scaleY(0.95); transform: rotateZ(180deg) scaleX(0.82) scaleY(0.95); } 100% { -webkit-transform: rotateZ(360deg) scaleX(1) scaleY(1); transform: rotateZ(360deg) scaleX(1) scaleY(1); } } @keyframes rotar { 0% { -webkit-transform: rotateZ(0deg) scaleX(1) scaleY(1); transform: rotateZ(0deg) scaleX(1) scaleY(1); } 50% { -webkit-transform: rotateZ(180deg) scaleX(0.82) scaleY(0.95); transform: rotateZ(180deg) scaleX(0.82) scaleY(0.95); } 100% { -webkit-transform: rotateZ(360deg) scaleX(1) scaleY(1); transform: rotateZ(360deg) scaleX(1) scaleY(1); } } @-webkit-keyframes rotarIz { 0% { -webkit-transform: rotateZ(0deg) scaleX(1) scaleY(1); transform: rotateZ(0deg) scaleX(1) scaleY(1); } 50% { -webkit-transform: rotateZ(-180deg) scaleX(0.95) scaleY(0.85); transform: rotateZ(-180deg) scaleX(0.95) scaleY(0.85); } 100% { -webkit-transform: rotateZ(-360deg) scaleX(1) scaleY(1); transform: rotateZ(-360deg) scaleX(1) scaleY(1); } } @keyframes rotarIz { 0% { -webkit-transform: rotateZ(0deg) scaleX(1) scaleY(1); transform: rotateZ(0deg) scaleX(1) scaleY(1); } 50% { -webkit-transform: rotateZ(-180deg) scaleX(0.95) scaleY(0.85); transform: rotateZ(-180deg) scaleX(0.95) scaleY(0.85); } 100% { -webkit-transform: rotateZ(-360deg) scaleX(1) scaleY(1); transform: rotateZ(-360deg) scaleX(1) scaleY(1); } } </style></head><body> <!-- autor: Marco Barría https://twitter.com/marco_bf --> <div class="hoja">CODEPEN</div> <script src='//cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script> </body></html>

Related: See More


Questions / Comments: