Start Coding
All
Accordion
Buttons
Cards
Carousel
Css Animation
Hexagons
Hover
Layout
Loaders
Menu
Navigation
Slider
Tables
Wave
All
* { 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; } }
60
Wavy Preloader 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; }
60
Thermometer Loader
By:
rald_dev
#backbar{ width:100%; height:2em; background-color: grey; opacity: 0.3; /*gives a nice hue*/ margin-top: 2em; } #progress{ width:100%; height:2em; background-color: green; -webkit-animation-name: dwindle; -webkit-animation-duration: 15s; -webkit-animation-iteration-count: infinite; -webkit-animation-timing-function: linear; animation-name: dwindle; animation-duration: 15s; animation-iteration-count: infinite; animation-timing-function: linear; } @-webkit-keyframes dwindle { 0% {width: 100%; background-color: green} 50% {background-color: blue;} 90% {background-color: red;} 95% {width:0%;} 100% {width: 0%; background-color: red;} } @keyframes dwindle { 0% {width: 100%; background-color: green} 50% {background-color: blue;} 90% {background-color: red;} 95% {width:0%;} 100% {width: 0%; background-color: red;} }
60
Countdown Timer
By:
rald_dev
R
AI
N
B
O
W
R
O
C
K
S
.center { text-align:center; } #boxWrapper { width: 100%; height: 300px; } .box { width: 80px; height: 80px; margin: 10px; display: inline-block; font-size: 60px; line-height: 80px; color: white; text-align: center; border:1px solid white; -webkit-font-smoothing: antialiased; -webkit-transform: translateZ(0.1px); -moz-transform: translateZ(0.1px); -o-transform: translateZ(0.1px); -ms-transform: translateZ(0.1px); transform: translateZ(0.1px); -webkit-animation: hue-animation 7s 0s linear infinite; animation: hue-animation 7s 0s linear infinite; } .animated { -webkit-animation-fill-mode: both; -moz-animation-fill-mode: both; -ms-animation-fill-mode: both; -o-animation-fill-mode: both; animation-fill-mode: both; -webkit-animation-duration: 1s; -moz-animation-duration: 1s; -ms-animation-duration: 1s; -o-animation-duration: 1s; animation-duration: 1s; } @-webkit-keyframes introAnimation { 0% { -webkit-transform: scale(0) rotate(-180deg); opacity: 0; } 50% { -webkit-transform: scale(1) rotate(0deg); opacity: 1; } 70% { -webkit-transform: scale(1) rotate(0deg); } 100% { -webkit-transform: scale(0.8) rotate(0deg); } } @-moz-keyframes introAnimation { 0% { -moz-transform: scale(0) rotate(-180deg); opacity: 0; } 50% { -moz-transform: scale(1) rotate(0deg); opacity: 1; } 70% { -moz-transform: scale(1) rotate(0deg); } 100% { -moz-transform: scale(0.8) rotate(0deg); } } @-o-keyframes introAnimation { 0% { -o-transform: scale(0) rotate(-180deg); opacity: 0; } 50% { -o-transform: scale(1) rotate(0deg); opacity: 1; } 70% { -o-transform: scale(1) rotate(0deg); } 100% { -o-transform: scale(0.8) rotate(0deg); } } @keyframes introAnimation { 00% { transform: scale(0) rotate(-180deg); opacity: 0; } 50% { transform: scale(1) rotate(0deg); opacity: 1; } 70% { transform: scale(1) rotate(0deg); } 100% { transform: scale(0.8) rotate(0deg); } } .introAnimation { -webkit-backface-visibility: visible !important; -webkit-animation-name: introAnimation; -moz-backface-visibility: visible !important; -moz-animation-name: introAnimation; -o-backface-visibility: visible !important; -o-animation-name: introAnimation; backface-visibility: visible !important; animation-name: introAnimation; } .two { -webkit-animation-delay: 0.5s; -moz-animation-delay: 0.5s; -ms-animation-delay: 0.5s; -o-animation-delay: 0.5s; animation-delay: 0.5s; } .three { -webkit-animation-delay: 1.0s; -moz-animation-delay: 1.0s; -ms-animation-delay: 1.0s; -o-animation-delay: 1.0s; animation-delay: 1.0s; } .four { -webkit-animation-delay: 1.5s; -moz-animation-delay: 1.5s; -ms-animation-delay: 1.5s; -o-animation-delay: 1.5s; animation-delay: 1.5s; } .five { -webkit-animation-delay: 2.0s; -moz-animation-delay: 2.0s; -ms-animation-delay: 2.0s; -o-animation-delay: 2.0s; animation-delay: 2.0s; } .six { -webkit-animation-delay: 2.5s; -moz-animation-delay: 2.5s; -ms-animation-delay: 2.5s; -o-animation-delay: 2.5s; animation-delay: 2.5s; } .seven { -webkit-animation-delay: 3.0s; -moz-animation-delay: 3.0s; -ms-animation-delay: 3.0s; -o-animation-delay: 3.0s; animation-delay: 3.0s; } .eight { -webkit-animation-delay: 3.5s; -moz-animation-delay: 3.5s; -ms-animation-delay: 3.5s; -o-animation-delay: 3.5s; animation-delay: 3.5s; } .nine { -webkit-animation-delay: 4.0s; -moz-animation-delay: 4.0s; -ms-animation-delay: 4.0s; -o-animation-delay: 4.0s; animation-delay: 4.0s; } .ten { -webkit-animation-delay: 4.5s; -moz-animation-delay: 4.5s; -ms-animation-delay: 4.5s; -o-animation-delay: 4.5s; animation-delay: 4.5s; } .eleven { -webkit-animation-delay: 5.0s; -moz-animation-delay: 5.0s; -ms-animation-delay: 5.0s; -o-animation-delay: 5.0s; animation-delay: 5.0s; } body{ padding: 0; margin: 0; overflow: hidden; } #boxWrapper{ width: 100%; height: 100vmax; background: #efb73e; opacity: .8; -webkit-animation: hue-animation 7s 0s linear infinite; animation: hue-animation 7s 0s linear infinite; } @keyframes hue-animation { 0% { -webkit-filter: hue-rotate(0deg); filter: hue-rotate(0deg); } 100% { -webkit-filter: hue-rotate(360deg); filter: hue-rotate(360deg); } } @-webkit-keyframes hue-animation { 0% { -webkit-filter: hue-rotate(0deg); filter: hue-rotate(0deg); } 100% { -webkit-filter: hue-rotate(360deg); filter: hue-rotate(360deg); } }
60
Rainbow Background
By:
rald_dev
Loaders Kit
Single Element pure CSS Spinners & Loaders
*{ -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; } .cf:before, .cf:after { content: " "; /* 1 */ display: table; /* 2 */ } .cf:after { clear: both; } html{ color: #fff; font-family: 'Source Sans Pro', sans-serif; background-color: #59488b; } h1,h2{ color: rgba(255,255,255,0.5); font-size: 40px; font-weight: 200; text-align: center; margin: 40px 0 0 0; } h2{ font-size: 18px; margin: 0; padding: 0; margin: 10px 0; } h1 span{ font-size: 30px; } a{ text-decoration: none; } a:hover{ transition: all linear 0.2s; } ::-moz-selection { background: #b3d4fc; text-shadow: none; } ::selection { background: #b3d4fc; text-shadow: none; } .wrapper{ width: 700px; margin: 0 auto; } .row{ text-align: center; padding: 50px 0; } .span, .span_large{ float: left; width: 100px; background-color: rgba(0,0,0, 0.02); height: 100px; vertical-align: middle; border-radius: 1px; margin-right: 100px; } .span:last-child{ margin-right: 0px; } /* Timer*/ .timer{ width: 24px; height: 24px; background-color: transparent; box-shadow: inset 0px 0px 0px 2px #fff; border-radius: 50%; position: relative; margin: 38px auto;/* Not necessary- its only for layouting*/ } .timer:after, .timer:before{ position: absolute; content:""; background-color: #fff; } .timer:after{ width: 10px; height: 2px; top: 11px; left: 11px; -webkit-transform-origin: 1px 1px; -moz-transform-origin: 1px 1px; transform-origin: 1px 1px; -webkit-animation: minhand 2s linear infinite; -moz-animation: minhand 2s linear infinite; animation: minhand 2s linear infinite; } .timer:before{ width: 8px; height: 2px; top: 11px; left: 11px; -webkit-transform-origin: 1px 1px; -moz-transform-origin: 1px 1px; transform-origin: 1px 1px; -webkit-animation: hrhand 8s linear infinite; -moz-animation: hrhand 8s linear infinite; animation: hrhand 8s linear infinite; } @-webkit-keyframes minhand{ 0%{-webkit-transform:rotate(0deg)} 100%{-webkit-transform:rotate(360deg)} } @-moz-keyframes minhand{ 0%{-moz-transform:rotate(0deg)} 100%{-moz-transform:rotate(360deg)} } @keyframes minhand{ 0%{transform:rotate(0deg)} 100%{transform:rotate(360deg)} } @-webkit-keyframes hrhand{ 0%{-webkit-transform:rotate(0deg)} 100%{-webkit-transform:rotate(360deg)} } @-moz-keyframes hrhand{ 0%{-moz-transform:rotate(0deg)} 100%{-moz-transform:rotate(360deg)} } @keyframes hrhand{ 0%{transform:rotate(0deg)} 100%{transform:rotate(360deg)} } /*Typing Loader*/ .typing_loader{ width: 6px; height: 6px; border-radius: 50%; -webkit-animation: typing 1s linear infinite alternate; -moz-animation: Typing 1s linear infinite alternate; animation: typing 1s linear infinite alternate; margin: 46px auto; /* Not necessary- its only for layouting*/ position: relative; left: -12px; } @-webkit-keyframes typing{ 0%{ background-color: rgba(255,255,255, 1); box-shadow: 12px 0px 0px 0px rgba(255,255,255,0.2), 24px 0px 0px 0px rgba(255,255,255,0.2); } 25%{ background-color: rgba(255,255,255, 0.4); box-shadow: 12px 0px 0px 0px rgba(255,255,255,2), 24px 0px 0px 0px rgba(255,255,255,0.2); } 75%{ background-color: rgba(255,255,255, 0.4); box-shadow: 12px 0px 0px 0px rgba(255,255,255,0.2), 24px 0px 0px 0px rgba(255,255,255,1); } } @-moz-keyframes typing{ 0%{ background-color: rgba(255,255,255, 1); box-shadow: 12px 0px 0px 0px rgba(255,255,255,0.2), 24px 0px 0px 0px rgba(255,255,255,0.2); } 25%{ background-color: rgba(255,255,255, 0.4); box-shadow: 12px 0px 0px 0px rgba(255,255,255,2), 24px 0px 0px 0px rgba(255,255,255,0.2); } 75%{ background-color: rgba(255,255,255, 0.4); box-shadow: 12px 0px 0px 0px rgba(255,255,255,0.2), 24px 0px 0px 0px rgba(255,255,255,1); } } @keyframes typing{ 0%{ background-color: rgba(255,255,255, 1); box-shadow: 12px 0px 0px 0px rgba(255,255,255,0.2), 24px 0px 0px 0px rgba(255,255,255,0.2); } 25%{ background-color: rgba(255,255,255, 0.4); box-shadow: 12px 0px 0px 0px rgba(255,255,255,2), 24px 0px 0px 0px rgba(255,255,255,0.2); } 75%{ background-color: rgba(255,255,255, 0.4); box-shadow: 12px 0px 0px 0px rgba(255,255,255,0.2), 24px 0px 0px 0px rgba(255,255,255,1); } } /*Location indicator */ .location_indicator{ margin: 30px auto; position: relative; left: -9px; } .location_indicator:before, .location_indicator:after{ position: absolute; content: ""; } .location_indicator:before{ width: 20px; height: 20px; border-radius: 100% 100% 100% 0; box-shadow: 0px 0px 0px 2px rgba(255,255,255,1); -webkit-animation: mapping 1s linear infinite; -moz-animation: mapping 1s linear infinite; animation: mapping 1s linear infinite; -webkit-transform: rotate(-46deg); -moz-transform: rotate(-46deg); transform: rotate(-46deg); } .location_indicator:after{ width: 30px; height: 10px; border-radius: 100%; left: 44px; background-color: rgba(255, 255, 255, 0.2); top: 24px; z-index: -1; } @-webkit-keyframes mapping{ 0% {top: 0;} 50%{top: -5px;} 100% {top:0; } } @-moz-keyframes mapping{ 0% {top: 0;} 50%{top: -5px;} 100% {top:0; } } @-keyframes mapping{ 0% {top: 0;} 50%{top: -5px;} 100% {top:0; } } /* go in*/ .dashboard{ width: 32px; height: 32px; margin: 30px auto; border: 2px rgba(255,255,255,1) solid; border-radius: 100%; position: relative; overflow: hidden; z-index: 1; } .dashboard:after, .dashboard:before{ position: absolute; content: ""; } .dashboard:after{ width:14px; height: 2px; top: 20px; -webkit-transform-origin: 1px 1px; -moz-transform-origin: 1px 1px; transform-origin: 1px 1px; background-color: rgba(255,255,255,1); -webkit-animation: dashboard_hand 2s linear infinite alternate; -moz-animation: dashboard_hand 2s linear infinite alternate; animation: dashboard_hand 2s linear infinite alternate; } .dashboard:before{ width: 32px; height: 10px; background-color: rgba(255,255,255,1); top:20px; left: -2px; } @-webkit-keyframes dashboard_hand{ 0%{ -webkit-transform: rotate(-160deg);} 100%{ -webkit-transform: rotate(-20deg);} } @-moz-keyframes dashboard_hand{ 0%{ -moz-transform: rotate(-160deg);} 100%{ -moz-transform: rotate(-20deg);} } @keyframes dashboard_hand{ 0%{ transform: rotate(-160deg);} 100%{ transform: rotate(-20deg);} } /*Battery*/ .battery{ width: 28px; height: 14px; border: 1px #fff solid; border-radius: 2px; position: relative; -webkit-animation: charge 5s linear infinite; -moz-animation: charge 5s linear infinite; animation: charge 5s linear infinite; top: 40px; margin: 0 auto; } .battery:after{ width: 2px; height: 7px; background-color: #fff; border-radius: 0px 1px 1px 0px; position: absolute; content: ""; top: 2px; right: -4px; } @-webkit-keyframes charge{ 0%{box-shadow: inset 0px 0px 0px #fff;} 100%{box-shadow: inset 30px 0px 0px #fff;} } @-moz-keyframes charge{ 0%{box-shadow: inset 0px 0px 0px #fff;} 100%{box-shadow: inset 30px 0px 0px #fff;} } @keyframes charge{ 0%{box-shadow: inset 0px 0px 0px #fff;} 100%{box-shadow: inset 30px 0px 0px #fff;} } .magnifier{ width: 20px; height: 20px; box-shadow: 0px 0px 0px 1px #fff; border-radius: 50%; position: relative; margin: 34px auto; -webkit-animation: magnify 1s linear infinite alternate; -moz-animation: magnify 1s linear infinite alternate; animation: magnify 1s linear infinite alternate; } .magnifier:after, .magnifier:before{ position: absolute; content: ""; } .magnifier:before{ content: "me"; font-size: 12px; left: 2px; text-align: center; top: 2px; } .magnifier:after{ width: 2px; height: 8px; background-color: #fff; bottom: -6px; left: 20px; border-radius: 2px; -webkit-transform: rotate(-45deg); -moz-transform: rotate(-45deg); transform: rotate(-45deg); } @-webkit-keyframes magnify{ 0%{-webkit-transform: scale(1); } 100%{-webkit-transform: scale(1.5);} } @-moz-keyframes magnify{ 0%{-moz-transform: scale(1); } 100%{-moz-transform: scale(1.5);} } @keyframes magnify{ 0%{transform: scale(1); } 100%{transform: scale(1.5);} } /*help*/ .help{ width: 30px; height: 30px; border: 1px #fff solid; border-radius: 50%; -webkit-animation: rotation 1s ease-in-out infinite; -moz-animation: rotation 1s ease-in-out infinite; animation: rotation 1s ease-in-out infinite; margin: 30px auto; } .help:after{ width: 5px; height: 5px; background-color: rgba(255,255,255,1); border-radius: 100%; position: absolute; content: ""; } @-webkit-keyframes rotation{ 0%{-webkit-transform: rotate(0deg);} 100%{-webkit-transform: rotate(360deg);} } @-moz-keyframes rotation{ 0%{-moz-transform: rotate(0deg);} 100%{-moz-transform: rotate(360deg);} } @keyframes rotation{ 0%{transform: rotate(0deg);} 100%{transform: rotate(360deg);} } /*eye ball*/ .eye{ width: 20px; height: 20px; background-color: rgba(255,255,255,0.8); border-radius: 50%; box-shadow: 30px 0px 0px 0px rgba(255,255,255,0.8); position: relative; margin: 36px 26px; } .eye:after{ background-color: #59488b; width: 10px; height: 10px; box-shadow: 30px 0px 0px 0px #59488b; border-radius: 50%; left: 9px; top: 8px; position: absolute; content: ""; -webkit-animation: eyeball 2s linear infinite alternate; -moz-animation: eyeball 2s linear infinite alternate; animation: eyeball 2s linear infinite alternate; } @-webkit-keyframes eyeball{ 0%{left: 9px;} 100%{left: 1px;} } @-moz-keyframes eyeball{ 0%{left: 9px;} 100%{left: 1px;} } @keyframes eyeball{ 0%{left: 9px;} 100%{left: 1px;} } /*coffee cup*/ .coffee_cup{ width: 20px; height: 24px; border: 1px rgba(255,255,255,1) solid; border-radius: 0px 0px 5px 5px; position: relative; margin: 36px auto; } .coffee_cup:after, .coffee_cup:before{ position: absolute; content: ""; } .coffee_cup:after{ width: 5px; height: 12px; border: 1px #fff solid; border-left: none; border-radius: 0px 20px 20px 0px; left: 20px; } .coffee_cup:before{ width: 1px; height: 6px; background-color: rgba(255,255,255,1); top: -10px; left: 4px; box-shadow: 5px 0px 0px 0px rgba(255,255,255,1), 5px -5px 0px 0px rgba(255,255,255,1), 10px 0px 0px 0px rgba(255,255,255,1); -webkit-animation: steam 1s linear infinite alternate; -moz-animation: steam 1s linear infinite alternate; animation: steam 1s linear infinite alternate; } @-webkit-keyframes steam{ 0%{height: 0px;} 100%{height: 6px;} } @-moz-keyframes steam{ 0%{height: 0px} 100%{height: 6px;} } @keyframes steam{ 0%{height: 0px} 100%{height: 6px;} } /*square*/ .square{ width: 20px; height: 20px; border:1px rgba(255,255,255,1) solid; margin: 36px auto; position: relative; -webkit-animation: fill_color 5s linear infinite; -moz-animation: fill_color 5s linear infinite; animation: fill_color 5s linear infinite; } .square:after{ width: 4px; height: 4px; position: absolute; content: ""; background-color: rgba(255,255,255,1); top: -8px; left: 0px; -webkit-animation: square_check 1s ease-in-out infinite; -moz-animation: square_check 1s ease-in-out infinite; animation: square_check 1s ease-in-out infinite; } @-webkit-keyframes square_check{ 25%{ left: 22px; top: -8px;} 50%{ left: 22px; top: 22px;} 75%{ left: -9px; top: 22px;} 100%{ left: -9px; top: -7px;} } @-moz-keyframes square_check{ 25%{ left: 22px; top: -8px;} 50%{ left: 22px; top: 22px;} 75%{ left: -9px; top: 22px;} 100%{ left: -9px; top: -7px;} } @keyframes square_check{ 25%{ left: 22px; top: -8px;} 50%{ left: 22px; top: 22px;} 75%{ left: -9px; top: 22px;} 100%{ left: -9px; top: -7px;} } @-webkit-keyframes fill_color{ 0%{ box-shadow: inset 0px 0px 0px 0px rgba(255,255,255,0.1);} 100%{ box-shadow: inset 0px -20px 0px 0px rgba(255,255,255,1);} } @-moz-keyframes fill_color{ 0%{ box-shadow: inset 0px 0px 0px 0px rgba(255,255,255,0.1);} 100%{ box-shadow: inset 0px -20px 0px 0px rgba(255,255,255,1);} } @keyframes fill_color{ 0%{ box-shadow: inset 0px 0px 0px 0px rgba(255,255,255,0.1);} 100%{ box-shadow: inset 0px -20px 0px 0px rgba(255,255,255,1);} } /*circle classick*/ .circle{ margin: 40px auto; position: relative; width: 8px; height: 8px; background-color: rgba(255,255,255,.5);; box-shadow: -14px 0px 0px rgba(255,255,255,1); border-radius: 50%; -webkit-animation: circle_classic 1s ease-in-out infinite alternate; -moz-animation: circle_classic 1s ease-in-out infinite alternate; animation: circle_classic 1s ease-in-out infinite alternate; } @-webkit-keyframes circle_classic{ 0%{ opacity: 0.1; -webkit-transform: rotate(0deg) scale(0.5);} 100%{opacity: 1; -webkit-transform: rotate(360deg) scale(1.2);} } @-moz-keyframes circle_classic{ 0%{ opacity: 0.1; -moz-transform: rotate(0deg) scale(0.5);} 100%{opacity: 1; -moz-transform: rotate(360deg) scale(1.2);} } @keyframes circle_classic{ 0%{ opacity: 0.1; transform: rotate(0deg) scale(0.5);} 100%{opacity: 1; transform: rotate(360deg) scale(1.2);} } /*cloud*/ .cloud{ margin: 42px 30px; width: 4px; height: 10px; opacity: 0.5; position: relative; box-shadow: 6px 0px 0px 0px rgba(255,255,255,1), 12px 0px 0px 0px rgba(255,255,255,1), 18px 0px 0px 0px rgba(255,255,255,1), 24px 0px 0px 0px rgba(255,255,255,1), 30px 0px 0px 0px rgba(255,255,255,1), 36px 0px 0px 0px rgba(255,255,255,1); -webkit-animation: rain 1s linear infinite alternate; -moz-animation: rain 1s linear infinite alternate; animation: rain 1s linear infinite alternate; } .cloud:after{ width: 40px; height: 10px; position: absolute; content: ""; background-color: rgba(255,255,255,1); top: 0px; opacity: 1; -webkit-animation: line_flow 2s linear infinite reverse; -moz-animation: line_flow 2s linear infinite reverse; animation: line_flow 2s linear infinite reverse; } @-webkit-keyframes rain{ 0%{ box-shadow: 6px 0px 0px 0px rgba(255,255,255,1), 12px 0px 0px 0px rgba(255,255,255,0.9), 18px 0px 0px 0px rgba(255,255,255,0.7), 24px 0px 0px 0px rgba(255,255,255,0.6), 30px 0px 0px 0px rgba(255,255,255,0.3), 36px 0px 0px 0px rgba(255,255,255,0.2); } 100%{ box-shadow: 6px 0px 0px 0px rgba(255,255,255,0.2), 12px 0px 0px 0px rgba(255,255,255,0.3), 18px 0px 0px 0px rgba(255,255,255,0.6), 24px 0px 0px 0px rgba(255,255,255,0.7), 30px 0px 0px 0px rgba(255,255,255,0.9), 36px 0px 0px 0px rgba(255,255,255,1); opacity: 1; } } @-moz-keyframes rain{ 0%{ box-shadow: 6px 0px 0px 0px rgba(255,255,255,1), 12px 0px 0px 0px rgba(255,255,255,0.9), 18px 0px 0px 0px rgba(255,255,255,0.7), 24px 0px 0px 0px rgba(255,255,255,0.6), 30px 0px 0px 0px rgba(255,255,255,0.3), 36px 0px 0px 0px rgba(255,255,255,0.2); } 100%{ box-shadow: 6px 0px 0px 0px rgba(255,255,255,0.2), 12px 0px 0px 0px rgba(255,255,255,0.3), 18px 0px 0px 0px rgba(255,255,255,0.6), 24px 0px 0px 0px rgba(255,255,255,0.7), 30px 0px 0px 0px rgba(255,255,255,0.9), 36px 0px 0px 0px rgba(255,255,255,1); opacity: 1; } } @keyframes rain{ 0%{ box-shadow: 6px 0px 0px 0px rgba(255,255,255,1), 12px 0px 0px 0px rgba(255,255,255,0.9), 18px 0px 0px 0px rgba(255,255,255,0.7), 24px 0px 0px 0px rgba(255,255,255,0.6), 30px 0px 0px 0px rgba(255,255,255,0.3), 36px 0px 0px 0px rgba(255,255,255,0.2); } 100%{ box-shadow: 6px 0px 0px 0px rgba(255,255,255,0.2), 12px 0px 0px 0px rgba(255,255,255,0.3), 18px 0px 0px 0px rgba(255,255,255,0.6), 24px 0px 0px 0px rgba(255,255,255,0.7), 30px 0px 0px 0px rgba(255,255,255,0.9), 36px 0px 0px 0px rgba(255,255,255,1); opacity: 1; } } @-webkit-keyframes line_flow{ 0%{ width: 0px;} 100%{width: 40px;} } @-moz-keyframes line_flow{ 0%{ width: 0px;} 100%{width: 40px;} } @keyframes line_flow{ 0%{ width: 0px;} 100%{width: 40px;} } /* Me */ .aboutme{ width: 700px; padding: 50px 0; border-top: 2px rgba(255,255,255,0.03) solid; } .viduthalai{ background: url(../img/viduthalai.png) no-repeat; width: 100px; height: 100px; border-radius: 0 2px 2px 0; float: left; opacity: 0.5; } .viduthalai:hover{ opacity: 1; } .intro{ float: left; width: 400px; padding-left: 20px; color: rgba(255,255,255,0.5); } .intro a{ color: rgba(255,255,255,0.5); } .intro a:hover{ color: rgba(255,255,255,1); } .intro span, p{ font-size: 15px; font-weight: 200; } .intro h3{ font-size: 20px; font-weight: 200; margin: 0px; } .git{ color: rgba(255,255,255,0.5); float: right; text-align: right; padding: 10px 20px; border-radius: 2px; background-color: rgba(0,0,0,0.3); font-weight: 200; } .git:hover{ background-color: rgba(0,0,0,0.2); }
59
Loaders kit
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}
59
Circle Loader v2
By:
rald_dev
Be
Curious
Be
Creative
Be
Confident
.stage { margin: 100px 50px 50px 50px; } @-webkit-keyframes spincube { from,to { -webkit-transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg); } 16% { -webkit-transform: rotateY(-90deg); } 33% { -webkit-transform: rotateY(-90deg) rotateZ(90deg); } 50% { -webkit-transform: rotateY(-180deg) rotateZ(90deg); } 66% { -webkit-transform: rotateY(-270deg) rotateX(90deg); } 83% { -webkit-transform: rotateX(90deg); } } @keyframes spincube { from,to { -moz-transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg); -ms-transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg); transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg); } 16% { -moz-transform: rotateY(-90deg); -ms-transform: rotateY(-90deg); transform: rotateY(-90deg); } 33% { -moz-transform: rotateY(-90deg) rotateZ(90deg); -ms-transform: rotateY(-90deg) rotateZ(90deg); transform: rotateY(-90deg) rotateZ(90deg); } 50% { -moz-transform: rotateY(-180deg) rotateZ(90deg); -ms-transform: rotateY(-180deg) rotateZ(90deg); transform: rotateY(-180deg) rotateZ(90deg); } 66% { -moz-transform: rotateY(-270deg) rotateX(90deg); -ms-transform: rotateY(-270deg) rotateX(90deg); transform: rotateY(-270deg) rotateX(90deg); } 83% { -moz-transform: rotateX(90deg); -ms-transform: rotateX(90deg); transform: rotateX(90deg); } } .cubespinner { -webkit-animation-name: spincube; -webkit-animation-timing-function: ease-in-out; -webkit-animation-iteration-count: infinite; -webkit-animation-duration: 12s; animation-name: spincube; animation-timing-function: ease-in-out; animation-iteration-count: infinite; animation-duration: 12s; -webkit-transform-style: preserve-3d; -moz-transform-style: preserve-3d; -ms-transform-style: preserve-3d; transform-style: preserve-3d; -webkit-transform-origin: 60px 60px 0; -moz-transform-origin: 60px 60px 0; -ms-transform-origin: 60px 60px 0; transform-origin: 60px 60px 0; } .cubespinner div { position: absolute; width: 300px; height: 300px; background: rgba(255,255,255,0.9); line-height:200px; text-align: center; font-size: 50px; } .cubespinner .face1 { color: CadetBlue; -webkit-transform: translateZ(60px); -moz-transform: translateZ(60px); -ms-transform: translateZ(60px); transform: translateZ(60px); } .cubespinner .face2 { color: ForestGreen; -webkit-transform: rotateY(90deg) translateZ(60px); -moz-transform: rotateY(90deg) translateZ(60px); -ms-transform: rotateY(90deg) translateZ(60px); transform: rotateY(90deg) translateZ(60px); } .cubespinner .face3 { color: blue; -webkit-transform: rotateY(90deg) rotateX(90deg) translateZ(60px); -moz-transform: rotateY(90deg) rotateX(90deg) translateZ(60px); -ms-transform: rotateY(90deg) rotateX(90deg) translateZ(60px); transform: rotateY(90deg) rotateX(90deg) translateZ(60px); } .cubespinner .face4 { color: orange; -webkit-transform: rotateY(180deg) rotateZ(90deg) translateZ(60px); -moz-transform: rotateY(180deg) rotateZ(90deg) translateZ(60px); -ms-transform: rotateY(180deg) rotateZ(90deg) translateZ(60px); transform: rotateY(180deg) rotateZ(90deg) translateZ(60px); } .cubespinner .face5 { color: red; -webkit-transform: rotateY(-90deg) rotateZ(90deg) translateZ(60px); -moz-transform: rotateY(-90deg) rotateZ(90deg) translateZ(60px); -ms-transform: rotateY(-90deg) rotateZ(90deg) translateZ(60px); transform: rotateY(-90deg) rotateZ(90deg) translateZ(60px); } .cubespinner .face6 { color: DarkSlateGray; -webkit-transform: rotateX(-90deg) translateZ(60px); -moz-transform: rotateX(-90deg) translateZ(60px); -ms-transform: rotateX(-90deg) translateZ(60px); transform: rotateX(-90deg) translateZ(60px); }
59
Text Animation
By:
rald_dev
hi folks, this is typing animation using CSS
created with ♥ by
@rald_dev
:)
|
body{ background: #000; padding-top: 10px; } p{ color: lime; font-family: "Courier"; font-size: 12px; margin: 10px 0 0 10px; white-space: nowrap; overflow: hidden; width: 30em; animation: type 4s steps(60, end); } p:nth-child(2){ animation: type2 8s steps(60, end); } p a{ color: lime; text-decoration: none; } span{ animation: blink 1s infinite; } @keyframes type{ from { width: 0; } } @keyframes type2{ 0%{width: 0;} 50%{width: 0;} 100%{ width: 100; } } @keyframes blink{ to{opacity: .0;} } ::selection{ background: black; }
58
Typing animation
By:
rald_dev
* { margin: 0; padding: 0; } body { background: #262626; } .center { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); } .down { position: relative; width: 50px; height: 80px; border-radius: 25px; background: transparent; border: 2px solid #fff; overflow: hidden; } .down:before { content: ''; position: absolute; width: 6px; height: 6px; border-radius: 50%; background: #fff; left: 50%; top: 10px; transform: translate(-50%, 0); animation: animate 1s linear infinite; } .down:after { content: ''; position: absolute; width: 6px; height: 15px; border-radius: 50%; background: #fff; left: 50%; top: 5px; transform: translate(-50%, 0); border-radius: 3px; } @keyframes animate { 0% { transform: translate(-50%, 0px); opacity: 0; } 50% { transform: translate(-50%, 40px); opacity: 1; } 100% { transform: translate(-50%, 80px); opacity: 0; } }
57
Mouse Scroll Down Animation
By:
rald_dev
html { box-sizing: border-box !important; } *, *::before, *::after { margin: 0; padding: 0; box-sizing: inherit; } html, body { width: 100%; height: 100%; } body { background: #333; color: #fff; font-size: 22px; font-weight: normal; font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif; line-height: 1.5; display: flex; justify-content: center; align-items: center; } .charging-container { max-width: 150px; width: 100%; height: 60px; border: 4px solid rgb(236, 39, 72); border-radius: 5px; position: relative; cursor: pointer; } .charging-container::before { content: ''; position: absolute; width: 8px; height: 16px; background: rgb(236, 39, 72); right: -9px; top: 50%; margin-top: -8px; border-radius: 2px; } .charging-container::after { content: ''; position: absolute; top: 5px; bottom: 5px; left: 5px; /* right: 10px; */ background: rgb(236, 39, 72); transition: all .3s; -webkit-animation: charging 2s steps(5) infinite; -moz-animation: charging 2s steps(5) infinite; animation: charging 2s steps(5) infinite; animation: charging 2s steps(5) infinite; } .charging-container:hover::after { animation-play-state: paused; } @-webkit-keyframes charging { from { width: 20%; } to { width: 100%; } } @-moz-keyframes charging { from { width: 20%; } to { width: 100%; } } @keyframes charging { from { width: 20%; } to { width: 100%; } }
56
Battery Charging
By:
rald_dev
body {background: #222;} /* leaf animations */ #leaves {position:relative;top:-50px;width:100%;text-align: right;} #leaves i { display: inline-block; width: 200px; height: 150px; background: linear-gradient(to bottom right, #309900, #005600); transform: skew(20deg); border-radius: 5% 40% 70%; box-shadow: inset 0px 0px 1px #222; border: 1px solid #333; z-index: 1; -webkit-animation: falling 5s 0s infinite; } #leaves i:nth-of-type(2n) { -webkit-animation: falling2 5s 0s infinite; } #leaves i:nth-of-type(3n) { -webkit-animation: falling3 5s 0s infinite; } #leaves i:before { position: absolute; content: ''; top: 117px; right: 9px; height: 27px; width: 32px; transform: rotate(49deg); border-radius: 0% 15% 15% 0%; border-top: 1px solid #222; border-bottom: 1px solid #222; border-left: 0px solid #222; border-right: 1px solid #222; background: linear-gradient(to right, rgba(0,100,0,1), #005600); z-index: 1; } #leaves i:after { content: ''; height: 125px; width: 10px; background: linear-gradient(to right, rgba(0,0,0,.15), rgba(0,0,0,0)); display: block; transform: rotate(125deg); position: absolute; left: 85px; border-radius:50%; } #leaves i:nth-of-type(n) { height:23px; width:30px; } #leaves i:nth-of-type(n):before { width:7px; height:5px; top:17px; right:1px; } #leaves i:nth-of-type(n):after { width:2px; height:17px; left: 12px; top:0px; } #leaves i:nth-of-type(2n+1) { height:11px; width:16px; } #leaves i:nth-of-type(2n+1):before { width:4px; height:3px; top:7px; right:0px; } #leaves i:nth-of-type(2n+1):after { width:2px; height:6px; left: 5px; top:1px; } #leaves i:nth-of-type(3n+2) { height:17px; width:23px; } #leaves i:nth-of-type(3n+2):before { height:4px; width:4px; top:12px; right:1px; } #leaves i:nth-of-type(3n+2):after { height:10px; width:2px; top:1px; left:8px; } #leaves i:nth-of-type(n) { -webkit-animation-delay: 1.9s;} #leaves i:nth-of-type(2n) { -webkit-animation-delay: 3.9s;} #leaves i:nth-of-type(3n) { -webkit-animation-delay: 2.3s;} #leaves i:nth-of-type(4n) { -webkit-animation-delay: 4.4s;} #leaves i:nth-of-type(5n) { -webkit-animation-delay: 5s; } #leaves i:nth-of-type(6n) { -webkit-animation-delay: 3.5s;} #leaves i:nth-of-type(7n) { -webkit-animation-delay: 2.8s;} #leaves i:nth-of-type(8n) { -webkit-animation-delay: 1.5s;} #leaves i:nth-of-type(9n) { -webkit-animation-delay: 3.3s;} #leaves i:nth-of-type(10n) { -webkit-animation-delay: 2.5s;} #leaves i:nth-of-type(11n) { -webkit-animation-delay: 1.2s;} #leaves i:nth-of-type(12n) { -webkit-animation-delay: 4.1s;} #leaves i:nth-of-type(13n) { -webkit-animation-delay: 1s; } #leaves i:nth-of-type(14n) { -webkit-animation-delay: 4.7s;} #leaves i:nth-of-type(15n) { -webkit-animation-delay: 3s; } #leaves i:nth-of-type(n) { background: linear-gradient(to bottom right, #309900, #005600); } #leaves i:nth-of-type(2n+2) { background: linear-gradient(to bottom right, #5e9900, #2b5600); } #leaves i:nth-of-type(4n+1) { background: linear-gradient(to bottom right, #990, #564500); } #leaves i:nth-of-type(n) { opacity: .7;} #leaves i:nth-of-type(3n+1) { opacity: .5;} #leaves i:nth-of-type(3n+2) { opacity: .3;} #leaves i:nth-of-type(n) {transform: rotate(180deg);} #leaves i:nth-of-type(n) { -webkit-animation-timing-function:ease-in-out;} @-webkit-keyframes falling { 0% { -webkit-transform: translate3d(300,0,0) rotate(0deg); } 100% { -webkit-transform: translate3d(-350px,700px,0) rotate(90deg); opacity: 0; } } @-webkit-keyframes falling3 { 0% { -webkit-transform: translate3d(0,0,0) rotate(-20deg); } 100% { -webkit-transform: translate3d(-230px,640px,0) rotate(-70deg); opacity: 0; } } @-webkit-keyframes falling2 { 0% { -webkit-transform: translate3d(0,0,0) rotate(90deg); } 100% { -webkit-transform: translate3d(-400px,680px,0) rotate(0deg); opacity: 0; } }
56
Falling leaves
By:
rald_dev
P
xel
/* Base Styles */ * { box-sizing: border-box; } body { display: flex; justify-content: center; align-items: center; height: 100vh; background-color: #050505; overflow: hidden; } .logo { font-family: "Lato", Arial, sans-serif; font-size: calc(1em + 12vw); letter-spacing: 0.08em; color: #eee; text-transform: uppercase; white-space: nowrap; user-select: none; } /* Cuboid Positioning */ .cuboid, .cuboid-face { display: inline-block; } .cuboid { font-size: 0.75em; position: relative; height: 0.5em; width: 1em; vertical-align: middle; transform-style: preserve-3d; transform: rotateX(-40deg) rotateY(-45deg); animation: rotateCuboid 3s ease-in-out infinite; } .cuboid-face { position: absolute; top: 0; width: 100%; height: 100%; border: 0.08em solid #eee; } .cuboid-face-top, .cuboid-face-bottom { height: 1em; } .cuboid-face-front { transform: translateZ(0.5em); animation: faceFront 3s ease-in-out infinite; } .cuboid-face-back { transform: rotateY(180deg) translateZ(0.5em); animation: faceBack 3s ease-in-out infinite; } .cuboid-face-left { transform: rotateY(-90deg) translateZ(0.5em); animation: faceLeft 3s ease-in-out infinite; } .cuboid-face-right { transform: rotateY(90deg) translateZ(0.5em); animation: faceRight 3s ease-in-out infinite; } .cuboid-face-top { transform: rotateX(90deg) translateZ(0.5em); } .cuboid-face-bottom { transform: rotateX(-90deg); } /* Animations */ @keyframes faceFront { 50% { transform: translateZ(0.7em); } } @keyframes faceBack { 50% { transform: rotateY(180deg) translateZ(0.7em); } } @keyframes faceLeft { 50% { transform: rotateY(-90deg) translateZ(0.7em); } } @keyframes faceRight { 50% { transform: rotateY(90deg) translateZ(0.7em); } } @keyframes rotateCuboid { 100% { transform: rotateX(-40deg) rotateY(-405deg); } }
56
Pixel animation
By:
rald_dev
Previous
1
…
7
8
9
10
Next