Start Coding
All
Accordion
Buttons
Cards
Carousel
Css Animation
Hexagons
Hover
Layout
Loaders
Menu
Navigation
Slider
Tables
Wave
Loaders
.loader { position: relative; width: 54px; height: 54px; border-radius: 10px; } .loader div { width: 8%; height: 24%; background: rgb(128, 128, 128); position: absolute; left: 50%; top: 30%; opacity: 0; border-radius: 50px; box-shadow: 0 0 3px rgba(0,0,0,0.2); animation: fade458 1s linear infinite; } @keyframes fade458 { from { opacity: 1; } to { opacity: 0.25; } } .loader .bar1 { transform: rotate(0deg) translate(0, -130%); animation-delay: 0s; } .loader .bar2 { transform: rotate(30deg) translate(0, -130%); animation-delay: -1.1s; } .loader .bar3 { transform: rotate(60deg) translate(0, -130%); animation-delay: -1s; } .loader .bar4 { transform: rotate(90deg) translate(0, -130%); animation-delay: -0.9s; } .loader .bar5 { transform: rotate(120deg) translate(0, -130%); animation-delay: -0.8s; } .loader .bar6 { transform: rotate(150deg) translate(0, -130%); animation-delay: -0.7s; } .loader .bar7 { transform: rotate(180deg) translate(0, -130%); animation-delay: -0.6s; } .loader .bar8 { transform: rotate(210deg) translate(0, -130%); animation-delay: -0.5s; } .loader .bar9 { transform: rotate(240deg) translate(0, -130%); animation-delay: -0.4s; } .loader .bar10 { transform: rotate(270deg) translate(0, -130%); animation-delay: -0.3s; } .loader .bar11 { transform: rotate(300deg) translate(0, -130%); animation-delay: -0.2s; } .loader .bar12 { transform: rotate(330deg) translate(0, -130%); animation-delay: -0.1s; }
7
Loader
By:
pixeldev
body{ background: #373940; } .socket{ width: 200px; height: 200px; position: absolute; left: 50%; margin-left: -100px; top: 50%; margin-top: -100px; } .hex-brick{ background: #ABF8FF; width: 30px; height: 17px; position: absolute; top: 5px; animation-name: fade; animation-duration: 2s; animation-iteration-count: infinite; -webkit-animation-name: fade; -webkit-animation-duration: 2s; -webkit-animation-iteration-count: infinite; } .h2{ transform: rotate(60deg); -webkit-transform: rotate(60deg); } .h3{ transform: rotate(-60deg); -webkit-transform: rotate(-60deg); } .gel{ height: 30px; width: 30px; transition: all .3s; -webkit-transition: all .3s; position: absolute; top: 50%; left: 50%; } .center-gel{ margin-left: -15px; margin-top: -15px; animation-name: pulse; animation-duration: 2s; animation-iteration-count: infinite; -webkit-animation-name: pulse; -webkit-animation-duration: 2s; -webkit-animation-iteration-count: infinite; } .c1{ margin-left: -47px; margin-top: -15px; } .c2{ margin-left: -31px; margin-top: -43px; } .c3{ margin-left: 1px; margin-top: -43px; } .c4{ margin-left: 17px; margin-top: -15px; } .c5{ margin-left: -31px; margin-top: 13px; } .c6{ margin-left: 1px; margin-top: 13px; } .c7{ margin-left: -63px; margin-top: -43px; } .c8{ margin-left: 33px; margin-top: -43px; } .c9{ margin-left: -15px; margin-top: 41px; } .c10{ margin-left: -63px; margin-top: 13px; } .c11{ margin-left: 33px; margin-top: 13px; } .c12{ margin-left: -15px; margin-top: -71px; } .c13{ margin-left: -47px; margin-top: -71px; } .c14{ margin-left: 17px; margin-top: -71px; } .c15{ margin-left: -47px; margin-top: 41px; } .c16{ margin-left: 17px; margin-top: 41px; } .c17{ margin-left: -79px; margin-top: -15px; } .c18{ margin-left: 49px; margin-top: -15px; } .c19{ margin-left: -63px; margin-top: -99px; } .c20{ margin-left: 33px; margin-top: -99px; } .c21{ margin-left: 1px; margin-top: -99px; } .c22{ margin-left: -31px; margin-top: -99px; } .c23{ margin-left: -63px; margin-top: 69px; } .c24{ margin-left: 33px; margin-top: 69px; } .c25{ margin-left: 1px; margin-top: 69px; } .c26{ margin-left: -31px; margin-top: 69px; } .c27{ margin-left: -79px; margin-top: -15px; } .c28{ margin-left: -95px; margin-top: -43px; } .c29{ margin-left: -95px; margin-top: 13px; } .c30{ margin-left: 49px; margin-top: 41px; } .c31{ margin-left: -79px; margin-top: -71px; } .c32{ margin-left: -111px; margin-top: -15px; } .c33{ margin-left: 65px; margin-top: -43px; } .c34{ margin-left: 65px; margin-top: 13px; } .c35{ margin-left: -79px; margin-top: 41px; } .c36{ margin-left: 49px; margin-top: -71px; } .c37{ margin-left: 81px; margin-top: -15px; } .r1{ animation-name: pulse; animation-duration: 2s; animation-iteration-count: infinite; animation-delay: .2s; -webkit-animation-name: pulse; -webkit-animation-duration: 2s; -webkit-animation-iteration-count: infinite; -webkit-animation-delay: .2s; } .r2{ animation-name: pulse; animation-duration: 2s; animation-iteration-count: infinite; animation-delay: .4s; -webkit-animation-name: pulse; -webkit-animation-duration: 2s; -webkit-animation-iteration-count: infinite; -webkit-animation-delay: .4s; } .r3{ animation-name: pulse; animation-duration: 2s; animation-iteration-count: infinite; animation-delay: .6s; -webkit-animation-name: pulse; -webkit-animation-duration: 2s; -webkit-animation-iteration-count: infinite; -webkit-animation-delay: .6s; } .r1 > .hex-brick{ animation-name: fade; animation-duration: 2s; animation-iteration-count: infinite; animation-delay: .2s; -webkit-animation-name: fade; -webkit-animation-duration: 2s; -webkit-animation-iteration-count: infinite; -webkit-animation-delay: .2s; } .r2 > .hex-brick{ animation-name: fade; animation-duration: 2s; animation-iteration-count: infinite; animation-delay: .4s; -webkit-animation-name: fade; -webkit-animation-duration: 2s; -webkit-animation-iteration-count: infinite; -webkit-animation-delay: .4s; } .r3 > .hex-brick{ animation-name: fade; animation-duration: 2s; animation-iteration-count: infinite; animation-delay: .6s; -webkit-animation-name: fade; -webkit-animation-duration: 2s; -webkit-animation-iteration-count: infinite; -webkit-animation-delay: .6s; } @keyframes pulse{ 0%{ -webkit-transform: scale(1); transform: scale(1); } 50%{ -webkit-transform: scale(0.01); transform: scale(0.01); } 100%{ -webkit-transform: scale(1); transform: scale(1); } } @keyframes fade{ 0%{ background: #ABF8FF; } 50%{ background: #90BBBF; } 100%{ background: #ABF8FF; } } @-webkit-keyframes pulse{ 0%{ -webkit-transform: scale(1); transform: scale(1); } 50%{ -webkit-transform: scale(0.01); transform: scale(0.01); } 100%{ -webkit-transform: scale(1); transform: scale(1); } } @-webkit-keyframes fade{ 0%{ background: #ABF8FF; } 50%{ background: #389CA6; } 100%{ background: #ABF8FF; } }
6
Hexagonal Loading Animation
By:
rald_dev
.loadingspinner { --square: 26px; --offset: 30px; --duration: 2.4s; --delay: 0.2s; --timing-function: ease-in-out; --in-duration: 0.4s; --in-delay: 0.1s; --in-timing-function: ease-out; width: calc( 3 * var(--offset) + var(--square)); height: calc( 2 * var(--offset) + var(--square)); padding: 0px; margin-left: auto; margin-right: auto; margin-top: 10px; margin-bottom: 30px; position: relative; } .loadingspinner div { display: inline-block; background: darkorange; /*background: var(--text-color);*/ /*box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.4);*/ border: none; border-radius: 2px; width: var(--square); height: var(--square); position: absolute; padding: 0px; margin: 0px; font-size: 6pt; color: black; } .loadingspinner #square1 { left: calc( 0 * var(--offset) ); top: calc( 0 * var(--offset) ); animation: square1 var(--duration) var(--delay) var(--timing-function) infinite, squarefadein var(--in-duration) calc(1 * var(--in-delay)) var(--in-timing-function) both; } .loadingspinner #square2 { left: calc( 0 * var(--offset) ); top: calc( 1 * var(--offset) ); animation: square2 var(--duration) var(--delay) var(--timing-function) infinite, squarefadein var(--in-duration) calc(1 * var(--in-delay)) var(--in-timing-function) both; } .loadingspinner #square3 { left: calc( 1 * var(--offset) ); top: calc( 1 * var(--offset) ); animation: square3 var(--duration) var(--delay) var(--timing-function) infinite, squarefadein var(--in-duration) calc(2 * var(--in-delay)) var(--in-timing-function) both; } .loadingspinner #square4 { left: calc( 2 * var(--offset) ); top: calc( 1 * var(--offset) ); animation: square4 var(--duration) var(--delay) var(--timing-function) infinite, squarefadein var(--in-duration) calc(3 * var(--in-delay)) var(--in-timing-function) both; } .loadingspinner #square5 { left: calc( 3 * var(--offset) ); top: calc( 1 * var(--offset) ); animation: square5 var(--duration) var(--delay) var(--timing-function) infinite, squarefadein var(--in-duration) calc(4 * var(--in-delay)) var(--in-timing-function) both; } @keyframes square1 { 0% { left: calc( 0 * var(--offset) ); top: calc( 0 * var(--offset) ); } 8.333% { left: calc( 0 * var(--offset) ); top: calc( 1 * var(--offset) ); } 100% { left: calc( 0 * var(--offset) ); top: calc( 1 * var(--offset) ); } } @keyframes square2 { 0% { left: calc( 0 * var(--offset) ); top: calc( 1 * var(--offset) ); } 8.333% { left: calc( 0 * var(--offset) ); top: calc( 2 * var(--offset) ); } 16.67% { left: calc( 1 * var(--offset) ); top: calc( 2 * var(--offset) ); } 25.00% { left: calc( 1 * var(--offset) ); top: calc( 1 * var(--offset) ); } 83.33% { left: calc( 1 * var(--offset) ); top: calc( 1 * var(--offset) ); } 91.67% { left: calc( 1 * var(--offset) ); top: calc( 0 * var(--offset) ); } 100% { left: calc( 0 * var(--offset) ); top: calc( 0 * var(--offset) ); } } @keyframes square3 { 0%,100% { left: calc( 1 * var(--offset) ); top: calc( 1 * var(--offset) ); } 16.67% { left: calc( 1 * var(--offset) ); top: calc( 1 * var(--offset) ); } 25.00% { left: calc( 1 * var(--offset) ); top: calc( 0 * var(--offset) ); } 33.33% { left: calc( 2 * var(--offset) ); top: calc( 0 * var(--offset) ); } 41.67% { left: calc( 2 * var(--offset) ); top: calc( 1 * var(--offset) ); } 66.67% { left: calc( 2 * var(--offset) ); top: calc( 1 * var(--offset) ); } 75.00% { left: calc( 2 * var(--offset) ); top: calc( 2 * var(--offset) ); } 83.33% { left: calc( 1 * var(--offset) ); top: calc( 2 * var(--offset) ); } 91.67% { left: calc( 1 * var(--offset) ); top: calc( 1 * var(--offset) ); } } @keyframes square4 { 0% { left: calc( 2 * var(--offset) ); top: calc( 1 * var(--offset) ); } 33.33% { left: calc( 2 * var(--offset) ); top: calc( 1 * var(--offset) ); } 41.67% { left: calc( 2 * var(--offset) ); top: calc( 2 * var(--offset) ); } 50.00% { left: calc( 3 * var(--offset) ); top: calc( 2 * var(--offset) ); } 58.33% { left: calc( 3 * var(--offset) ); top: calc( 1 * var(--offset) ); } 100% { left: calc( 3 * var(--offset) ); top: calc( 1 * var(--offset) ); } } @keyframes square5 { 0% { left: calc( 3 * var(--offset) ); top: calc( 1 * var(--offset) ); } 50.00% { left: calc( 3 * var(--offset) ); top: calc( 1 * var(--offset) ); } 58.33% { left: calc( 3 * var(--offset) ); top: calc( 0 * var(--offset) ); } 66.67% { left: calc( 2 * var(--offset) ); top: calc( 0 * var(--offset) ); } 75.00% { left: calc( 2 * var(--offset) ); top: calc( 1 * var(--offset) ); } 100% { left: calc( 2 * var(--offset) ); top: calc( 1 * var(--offset) ); } } @keyframes squarefadein { 0% { transform: scale(0.75); opacity: 0.0; } 100% { transform: scale(1.0); opacity: 1.0; } }
5
Tetris Block Loader
By:
pixeldev
CSS3 loading animation.
Simple.
Clear.
Pure.
Simple.
* { font-family: 'Roboto',sans-serif; } h1, p { text-align: center; font-weight: 300; } h1 { font-size: 2em; } .word-spinner { font-size: 2em; height: 2em; line-height: 2em; overflow: hidden; } .word-spinner > span { display: block; } .word-spinner > span { position: relative; display: block; text-align: center; top: -100%; animation: wordspin 5s infinite; -webkit-animation: wordspin 5s infinite; } /* spinning animation */ @keyframes wordspin { 0% { top: 0%; } 33% { top: -100%; } 66% { top: -200%; } 100% { top: -300%; } } @-webkit-keyframes wordspin /*Safari and Chrome*/ { 0% { top: 0%; } 33% { top: -100%; } 66% { top: -200%; } 100% { top: -300%; } } /* loader div */ #loader2 { width: 16em; height: 16em; margin: 6em auto 6em auto; font-size: 12px; background-color: white; border-left: 1.6em solid #3399FF; border-right: 1.6em solid #3399FF; border-top: 1.6em solid transparent; border-bottom: 1.6em solid transparent; border-radius: 100%; -webkit-border-radius: 100%; animation: loader 1s infinite; -webkit-animation: loader 1s infinite; } /* spinning animation */ @keyframes loader { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } @-webkit-keyframes loader /*Safari and Chrome*/ { 0% { -webkit-transform: rotate(0deg); } 100% { -webkit-transform: rotate(360deg); } } .ownlink { color: #3399FF; text-decoration: none; font-style: italic; }
5
Loading Animation v2
By:
rald_dev
* { margin: 0; padding: 0; box-sizing: border-box; border: none; outline: none; } body { margin: 0; padding: 0; } .loader { width: 100%; height: 100%; background-color: #f0f0f0; position: fixed; top: 0; left: 0; display: flex; align-items: center; justify-content: center; overflow: hidden; z-index: 1; } .loader-container { width: 120px; height: 120px; } .loader-block { width: 16px; height: 16px; background-color: #ff2d37; border-radius: 3px; margin-right: 10px; margin-bottom: 10px; position: relative; float: left; animation: wave 1.5s infinite; } .loader-block:nth-child(4n + 2) { animation-delay: 0.2s; } .loader-block:nth-child(4n + 3) { animation-delay: 0.4s; } .loader-block:nth-child(4n + 4) { animation-delay: 0.6s; } /* Create a wave animation */ @keyframes wave { 0% { top: 0; opacity: 1; } 50% { top: 30px; opacity: 0.2; } 100% { top: 0; opacity: 1; } }
4
Wavy Preloader Animation
By:
rald_dev
body{background:#ECF0F1} .load{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%); /*change these sizes to fit into your project*/ width:100px; height:100px; } .load hr{border:0;margin:0;width:40%;height:40%;position:absolute;border-radius:50%;animation:spin 2s ease infinite} .load :first-child{background:#19A68C;animation-delay:-1.5s} .load :nth-child(2){background:#F63D3A;animation-delay:-1s} .load :nth-child(3){background:#FDA543;animation-delay:-0.5s} .load :last-child{background:#193B48} @keyframes spin{ 0%,100%{transform:translate(0)} 25%{transform:translate(160%)} 50%{transform:translate(160%, 160%)} 75%{transform:translate(0, 160%)} }
3
Flat Preloader
By:
rald_dev
body { height: 100vh; } .cont { position: relative; top: 50%; left: 50%; transform: translate(-50%,-50%); display: inline-block; } .dots { width: 15px; height: 15px; border-radius: 50%; position: absolute; transform: translate(0px,0px); } .d1 { transform: rotate(0deg) translateX(80px); background: #ff7171; animation: orbit1 2.5s ease-in-out infinite alternate; z-index: 10; } .d2 { transform: rotate(-90deg) translateX(80px); background: #377b37; animation: orbit2 2.5s ease-in-out infinite alternate; z-index: 8; } .d3 { transform: rotate(180deg) translateX(80px); background: #afaf29; animation: orbit3 2.5s ease-in-out infinite alternate; z-index: 6; } .d4 { transform: rotate(90deg) translateX(80px); background: #7a5afb; animation: orbit4 2.5s ease-in-out infinite alternate; z-index: 4; } .d5 { transform: rotate(135deg) translateX(80px); background: #e62575; animation: orbit5 2.5s ease-in-out infinite alternate; z-index: 5; } .d6 { transform: rotate(225deg) translateX(80px); background: #967e77; animation: orbit6 2.5s ease-in-out infinite alternate; z-index: 7; } .d7 { transform: rotate(315deg) translateX(80px); background: #d432c7; animation: orbit7 2.5s ease-in-out infinite alternate; z-index: 9; } .d8 { transform: rotate(405deg) translateX(80px); background: #00bcd4; animation: orbit8 2.5s ease-in-out infinite alternate; z-index: 3; } @keyframes orbit1 { 0% { transform: rotate(0deg) translateX(80px) scale(1,1); } 100% { transform: rotate(360deg) translateX(0px) scale(1.2,1.2); } } @keyframes orbit2 { 0% { transform: rotate(-90deg) translateX(80px) scale(1,1); } 100% { transform: rotate(270deg) translateX(0px) scale(1.6,1.6); } } @keyframes orbit3 { 0% { transform: rotate(180deg) translateX(80px) scale(1,1); } 100% { transform: rotate(540deg) translateX(0px) scale(2,2); } } @keyframes orbit4 { 0% { transform: rotate(90deg) translateX(80px) scale(1,1); } 100% { transform: rotate(450deg) translateX(0px) scale(2.4,2.4); } } @keyframes orbit5 { 0% { transform: rotate(135deg) translateX(80px) scale(1,1); } 100% { transform: rotate(495deg) translateX(0px) scale(2.2,2.2); } } @keyframes orbit6 { 0% { transform: rotate(225deg) translateX(80px) scale(1,1); } 100% { transform: rotate(585deg) translateX(0px) scale(1.8,1.8); } } @keyframes orbit7 { 0% { transform: rotate(315deg) translateX(80px) scale(1,1); } 100% { transform: rotate(675deg) translateX(0px) scale(1.4,1.4); } } @keyframes orbit8 { 0% { transform: rotate(405deg) translateX(80px) scale(1,1); } 100% { transform: rotate(765deg) translateX(0px) scale(2.6,2.6); } }
3
Circle(dots) css animation loader
By:
rald_dev
.loadingWrap { position: absolute; margin: auto; top: 0; right: 0; bottom: 0; left: 0; width: 500px; height: 50px; text-align: center; } .loadingBoxes { display: inline-block; margin: 3px; width: 40px; height: 40px; border-radius: 10px; } .loadingBoxColour1 {background: #00A396; animation: loadingBoxColour; animation-duration: 2s; animation-delay: 0.0s; animation-iteration-count: infinite; animation-timing-function: ease-in-out; } .loadingBoxColour2 {background: #81C540; animation: loadingBoxColour; animation-duration: 2s; animation-delay: 0.1s; animation-iteration-count: infinite; animation-timing-function: ease-in-out; } .loadingBoxColour3 {background: #F5B52E; animation: loadingBoxColour; animation-duration: 2s; animation-delay: 0.2s; animation-iteration-count: infinite; animation-timing-function: ease-in-out; } .loadingBoxColour4 {background: #ED5B35; animation: loadingBoxColour; animation-duration: 2s; animation-delay: 0.3s; animation-iteration-count: infinite; animation-timing-function: ease-in-out; } .loadingBoxColour5 {background: #EA225E; animation: loadingBoxColour; animation-duration: 2s; animation-delay: 0.4s; animation-iteration-count: infinite; animation-timing-function: ease-in-out; } @keyframes loadingBoxColour { 0% { transform: scale(1.0); } 50% { transform: scale(0.5); } 100% { transform: scale(1.0); } }
3
Loading Animation
By:
rald_dev
@property --redFillColorStop { syntax: ""; inherits: false; initial-value: 0px; } .loaderWrapper { /* scale: 1; */ --loaderHeight: 600px; --animationDuration: 3.5s; height: var(--loaderHeight); aspect-ratio: 1/3.5; position: relative; animation: shake var(--animationDuration) infinite linear; } .blue { background: hsl(193, 93%, 78%); } .gray { background: hsl(0, 0%, 92%); } .redFill { /* --redFillColorStop: 300px; */ background: linear-gradient(to top, hsl(3, 82%, 51%) var(--redFillColorStop), transparent 0%); animation: tempRise var(--animationDuration) infinite linear; } .partOne { width: 70%; height: 100%; margin-inline: auto; border-radius: 9999px; position: relative; } .partOneChild, .partOneChildChild { position: absolute; inset: 0.5rem; border-radius: inherit; } .partTwo { width: 100%; aspect-ratio: 1; border-radius: 50%; position: absolute; bottom: 0; } .partTwoChild, .partTwoChildChild { position: absolute; inset: 0.5rem; border-radius: inherit; } .partOneChild { z-index: 1; } .partTwoChildChild { z-index: 1; } .partOneChildChild, .partTwoChildChild { overflow: hidden; } .partOneChildChild::before, .partTwoChildChild::before { content: ''; position: absolute; inset: 0; border-radius: inherit; transform: translateX(-1.5rem) translateY(-0.6875rem); background: hsl(0 0% 92% / 0.25); } .partTwoChildChild::before { translate: 0.25rem 0; } .shine { position: absolute; width: 10%; aspect-ratio: 1/2.75; left: 10%; top: 7%; border-radius: inherit; background: white; box-shadow: 0 35px white, 0 45px white, 0 55px white; } .measurements { position: absolute; width: 25%; aspect-ratio: 3.5/1; border-radius: inherit; top: 28%; left: 5%; background: white; opacity: 0.75; box-shadow: 0 1rem white, 0 2rem white, 0 3rem white, 1rem 3rem white, 0 4rem white, 0 5rem white, 0 6rem white, 0 7rem white, 1rem 7rem white, 0 8rem white, 0 9rem white, 0 10rem white, 0 11rem white, 1rem 11rem white, 0 12rem white, 0 13rem white, 0 14rem white, 0 15rem white, 1rem 15rem white; } @keyframes tempRise { 0%, 100% { --redFillColorStop: 0px; } 50% { --redFillColorStop: calc(var(--loaderHeight) - 2rem); } } @keyframes shake { 0%, 100%, 10%, 90% { transform: translateX(0rem); } 20%, 30%, 38%, 44%, 48%, 50%, 54%, 60%, 68%, 78% { transform: translateX(-0.5rem); } 25%, 34%, 41%, 46%, 49%, 52%, 57%, 64%, 73%, 84% { transform: translateX(0.5rem); } } /* Ignore */ * { margin: 0; box-sizing: border-box; /* outline: solid hsl(0 0% 10% / 0.5); */ } body { min-height:100svh; display: grid; place-items: center; background: #141719; }
3
Thermometer Loader
By:
rald_dev
*{ padding: 0; margin: 0; font-family: 'Quicksand', sans-serif; } body{ background:#40739e; } .container{ position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 600px; height: 5px; overflow: hidden; } .container span{ position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: #fff; display: inline-block; animation: animate 10s infinite linear; } @keyframes animate{ 0%{ transform: translateX(-100%); } 50%{ transform: translateX(100%); } 100%{ transform: translateX(-100%); } }
3
Line Loading Animation
By:
rald_dev
.loader { border: 8px; border-top: 4px dotted #FF0035; border-radius:50%; width: 120px; height: 120px; animation: spin 3s linear infinite; margin: auto; } @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } 0% {background-color:#FF0035 ; opacity: 0.2;} 30% {background-color:white; opacity: 1.0;} 70% {background-color:white; opacity: 1.0;} 100% {background-color: #FF0035; opacity: 0.2;} } }
2
Red loading animation
By:
rald_dev
/* Inspirated from http://www.alessioatzeni.com/wp-content/tutorials/html-css/CSS3-loading-animation-loop/index.html */ .ouro { position: relative; display:inline-block; height: 46px; width: 46px; margin: 1em; border-radius: 50%; background: none repeat scroll 0 0 #DDDDDD; overflow:hidden; box-shadow: 0 0 10px rgba(0,0,0,.1) inset, 0 0 25px rgba(0,0,255,0.075); } .ouro:after { content: ""; position: absolute; top: 9px; left: 9px; display: block; height: 28px; width: 28px; background: none repeat scroll 0 0 #F2F2F2; border-radius: 50%; box-shadow: 0 0 10px rgba(0,0,0,.1); } .ouro > span { position: absolute; height: 100%; width: 50%; overflow: hidden; } .left { left:0 } .right { left:50% } .anim { position: absolute; left: 100%; top: 0; height: 100%; width: 100%; border-radius: 999px; background: none repeat scroll 0 0 #508EC3; opacity: 0.8; -webkit-animation: ui-spinner-rotate-left 3s infinite; animation: ui-spinner-rotate-left 3s infinite; -webkit-transform-origin: 0 50% 0; transform-origin: 0 50% 0; } .left .anim { border-bottom-left-radius: 0; border-top-left-radius: 0; } .right .anim { border-bottom-right-radius: 0; border-top-right-radius: 0; left: -100%; -webkit-transform-origin: 100% 50% 0; transform-origin: 100% 50% 0; } /* v2 */ .ouro2 .anim { -webkit-animation-delay:0; animation-delay:0; } .ouro2 .right .anim{ -webkit-animation-delay: 1.5s; animation-delay: 1.5s; } /* v3 */ .ouro3 .anim { -webkit-animation-delay: 0s; -webkit-animation-duration:3s; -webkit-animation-timing-function: linear; animation-delay: 0s; animation-duration:3s; animation-timing-function: linear; } .ouro3 .right .anim{ -webkit-animation-name: ui-spinner-rotate-right; -webkit-animation-delay:0; -webkit-animation-delay: 1.5s; animation-name: ui-spinner-rotate-right; animation-delay:0; animation-delay: 1.5s; } /* round variation */ .round .ouro:after {display:none } /* double variation */ .double .ouro:after { height: 13px; width: 13px; left: 7px; top: 7px; border: 10px solid #ddd; background: transparent; box-shadow: none; } @keyframes ui-spinner-rotate-right{ 0%{transform:rotate(0deg)} 25%{transform:rotate(180deg)} 50%{transform:rotate(180deg)} 75%{transform:rotate(360deg)} 100%{transform:rotate(360deg)} } @keyframes ui-spinner-rotate-left{ 0%{transform:rotate(0deg)} 25%{transform:rotate(0deg)} 50%{transform:rotate(180deg)} 75%{transform:rotate(180deg)} 100%{transform:rotate(360deg)} } @-webkit-keyframes ui-spinner-rotate-right{ 0%{-webkit-transform:rotate(0deg)} 25%{-webkit-transform:rotate(180deg)} 50%{-webkit-transform:rotate(180deg)} 75%{-webkit-transform:rotate(360deg)} 100%{-webkit-transform:rotate(360deg)} } @-webkit-keyframes ui-spinner-rotate-left{ 0%{-webkit-transform:rotate(0deg)} 25%{-webkit-transform:rotate(0deg)} 50%{-webkit-transform:rotate(180deg)} 75%{-webkit-transform:rotate(180deg)} 100%{-webkit-transform:rotate(360deg)} } /* * Some bugs with Chrome (Android), Safari and Opera, I'll try to see how http://atomeye.com/projects/sass-css-spinner.html made his code. */ /* presentation styles */ html {height: 100%} body { text-align:center; background: radial-gradient(circle, #fff 0%, #bbb 85%) no-repeat; background: -webkit-radial-gradient(circle, #fff 0%, #bbb 85%) no-repeat; height: 100%; display:table; width:100%} .block {display: table-cell; vertical-align:middle} h1, a { margin-top: 1em; font-family: "Open Sans Light", "Open Sans", "Segoe UI", Helvetica, Arial; color: #888; font-weight: lighter;} .info {margin-top: 25px} .info a {font-size: 12px; color: #999} .info br + a {text-decoration:none}
2
Circle Loader v2
By:
rald_dev
1
2
Next