Start Coding
All
Accordion
Buttons
Cards
Carousel
Css Animation
Hexagons
Hover
Layout
Loaders
Menu
Navigation
Slider
Tables
Wave
All
html{ background-color: #023; } .load{ display:flex; justify-content:center; align-items:center; height:95vh; } .load div{ background-color:#00f3ff; height: 40px; width:40px; border-radius: 50%; margin-right:20px; animation-name: up-load; animation-duration: 1.5s; animation-iteration-count:infinite; animation-direction: alternate; animation-timing-function: linear; } .load .two{ animation-delay: 0.5s; } .load .three{ animation-delay: 1s; } @keyframes up-load{ to{ opacity: 0.05; transform: translateY(-25px) } }
62
Loading dots animation
By:
rald_dev
.wheel{ border: 2px solid black; border-radius: 50%; margin-left: 50px; position: absolute; width: 55vw; height: 55vw; max-height: 500px; max-width: 500px; animation-name: wheel; animation-duration: 10s;/*Time of the animation*/ animation-iteration-count: infinite;/*How many times the animation repeats*/ animation-timing-function: linear;/*How the animation should progress over time*/ } /********LINES********/ .line{ background-color: black; width: 50%; height: 2px; position: absolute; left: 50%; top: 50%; transform-origin: 0% 0%; } /******Line types*********/ .line:nth-of-type(2){ transform: rotate(60deg); } .line:nth-of-type(3){ transform: rotate(120deg); } .line:nth-of-type(4){ transform: rotate(180deg); } .line:nth-of-type(5){ transform: rotate(240deg); } .line:nth-of-type(6){ transform: rotate(300deg); } /********CABINS**********/ .cabin{ background-color: red; width: 20%; height: 20%; position: absolute; border: 2px solid; transform-origin: 50% 0%; animation: cabins 10s ease-in-out infinite;/*animation-name, animation-duration, animation-timing-function, animation-iteration-count*/ } /*******Cabin types*********/ .cabin:nth-of-type(1){ right: -8.5%; top: 50%; } .cabin:nth-of-type(2){ right: 17%; top: 93.5%; } .cabin:nth-of-type(3){ right: 67%; top: 93.5%; } .cabin:nth-of-type(4){ left: -8.5%; top: 50%; } .cabin:nth-of-type(5){ left: 17%; top: 7%; } .cabin:nth-of-type(6){ right: 17%; top: 7%; } /**********K E Y F R A M E S*************/ @keyframes wheel{ 0%{ transform: rotate(0deg); } 100%{ transform: rotate(360deg); } } @keyframes cabins{ 0%{ transform: rotate(0deg); } 25%{ background-color: yellow; } 50%{ background-color: purple; } 75%{ background-color: yellow; } 100%{ transform: rotate(-360deg); } }
62
Ferris Wheel Animation
By:
rald_dev
Rald_Dev
* { margin: 0; padding: 0; box-sizing: border-box; } body { width: 100%; height: 100vh; background-color: #000; color: #fff; display: flex; justify-content: center; align-items: center; } .wrapper { position: relative; } .word { height: 70px; border-right: 2px solid green; line-height: 70px; overflow: hidden; animation: moveRight 1500ms steps(12) infinite, borderBlink 200ms infinite; font-size: 50px; white-space: nowrap; } .cursor { height: 100%; width: 2px; color: green; } @keyframes moveRight { 0% { width: 0%; } 100% { width: 270px; } } @keyframes borderBlink { 0%, 100% { border-right-color: transparent; } 50% { border-right-color: green; } }
62
Typewriter Effect -Single Word Animation
By:
rald_dev
*{ padding: 0; margin: 0; box-sizing: border-box; } :root{ --color-bg:#222222; --color-box-1:#ffffff; --color-box-2:#ff1a3c; --animation-speed:1.5s; --row-col-size:5; --grid-item-size:8vmin; } body{ background-color: var(--color-bg); min-height: 100vh; display: grid; place-items: center; } .art{ border: .2rem solid var(--color-box-2); padding: 5vmin; display: grid; grid-template-columns: repeat(var(--row-col-size),var(--grid-item-size)); grid-template-rows: repeat(var(--row-col-size),var(--grid-item-size)); gap: 1vmin; } .item:nth-child(odd){ background-color: var(--color-box-1); animation: ans-white var(--animation-speed) linear infinite; } .item:nth-child(even){ background-color: var(--color-box-2); animation: ans var(--animation-speed) linear infinite; } @keyframes ans { 0%{ clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); } 25%{ clip-path: polygon(100% 0, 100% 0, 100% 100%, 0 100%); } 50%{ clip-path: polygon(100% 0, 100% 0, 100% 100%, 0 0); } 75%{ clip-path: polygon(100% 0, 100% 0, 0 100%, 0 0); } 100%{ clip-path: polygon(100% 0, 100% 100%, 0 100%, 0 0); } } @keyframes ans-white { 0%{ clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); } 25%{ clip-path: polygon(0 0, 100% 0, 0 100%, 0 100%); } 50%{ clip-path: polygon(0 0, 100% 100%, 0 100%, 0 100%); } 75%{ clip-path: polygon(100% 0, 100% 100%, 0 100%, 0 100%); } 100%{ clip-path: polygon(100% 0, 100% 100%, 0 100%, 0 0); } }
62
Geometric Animation
By:
rald_dev
Hello World & Advance Merry Christmas!
:root { --main-bg: #c2c2c2; --trunk-bg-1: #5e2100; --trunk-bg-2: #783e00; --leaves-bottom-bg-1: #0f980f; --leaves-bottom-bg-2: #3fc83f; --leaves-middle-bg-1: #1fa81f; --leaves-middle-bg-2: #4fd84f; --leaves-top-bg-1: #2fb82f; --leaves-top-bg-2: #5fe85f; --star-bg: #ffdd00; --shine-bg: #ffeb69; --snow-bg: #f2f2f2; --tree-width: 200px; --tree-height: 400px; --tree-rotate: -15deg; --trunk-width: 30px; --trunk-height: 400px; --trunk-angle: 4.3deg; --leaves-translate: 15px; --leaves-bottom-width: 100px; --leaves-bottom-height: 320px; --leaves-bottom-angle: 18.2deg; --leaves-middle-width: 80px; --leaves-middle-height: 220px; --leaves-middle-angle: 21.4deg; --leaves-top-width: 60px; --leaves-top-height: 140px; --leaves-top-angle: 25.5deg; --star-size: 20px; } html, body { width: 100%; height: 100%; padding: 0; margin: 0; } body { overflow: hidden; } .ts-3d { transform-style: preserve-3d; } .container { background-color: var(--main-bg); width: 100%; min-height: 100%; overflow: hidden; display: flex; align-items: center; justify-content: center; } .tree { width: var(--tree-width); height: var(--tree-height); position: relative; transform-style: preserve-3d; transform: rotateX(var(--tree-rotate)); } .trunk, .leaves-bottom, .leaves-middle, .leaves-top { position: absolute; width: 100%; height: 100%; top: 0; left: 0; animation: 10s tree-rotate linear infinite; } .trunk div { border-top: none; border-left: solid var(--trunk-width) transparent; border-right: solid var(--trunk-width) transparent; position: absolute; bottom: 0; left: calc(50% - var(--trunk-width)); transform-origin: bottom; } .trunk div:nth-child(1) { border-bottom: solid var(--trunk-height) var(--trunk-bg-1); transform: rotateX(var(--trunk-angle)) translateY(2px) translateZ(var(--trunk-width)); } .trunk div:nth-child(2) { border-bottom: solid var(--trunk-height) var(--trunk-bg-2); transform: rotateY(90deg) rotateX(calc(var(--trunk-angle) * -1)) translateY(2px) translateZ(calc(var(--trunk-width) * -1)); } .trunk div:nth-child(3) { border-bottom: solid var(--trunk-height) var(--trunk-bg-1); transform: rotateX(calc(var(--trunk-angle) * -1)) translateY(2px) translateZ(calc(var(--trunk-width) * -1)); } .trunk div:nth-child(4) { border-bottom: solid var(--trunk-height) var(--trunk-bg-2); transform: rotateY(-90deg) rotateX(calc(var(--trunk-angle) * -1)) translateY(2px) translateZ(calc(var(--trunk-width) * -1)); } .leaves-bottom div { border-top: none; border-left: solid var(--leaves-bottom-width) transparent; border-right: solid var(--leaves-bottom-width) transparent; position: absolute; top: var(--star-size); left: calc(50% - var(--leaves-bottom-width)); transform-origin: bottom; } .leaves-bottom div:nth-child(1) { border-bottom: solid var(--leaves-bottom-height) var(--leaves-bottom-bg-1); transform: rotateX(var(--leaves-bottom-angle)) translateY(var(--leaves-translate)) translateZ(var(--leaves-bottom-width)); } .leaves-bottom div:nth-child(2) { border-bottom: solid var(--leaves-bottom-height) var(--leaves-bottom-bg-2); transform: rotateY(90deg) rotateX(calc(var(--leaves-bottom-angle) * -1)) translateY(var(--leaves-translate)) translateZ(calc(var(--leaves-bottom-width) * -1)); } .leaves-bottom div:nth-child(3) { border-bottom: solid var(--leaves-bottom-height) var(--leaves-bottom-bg-1); transform: rotateX(calc(var(--leaves-bottom-angle) * -1)) translateY(var(--leaves-translate)) translateZ(calc(var(--leaves-bottom-width) * -1)); } .leaves-bottom div:nth-child(4) { border-bottom: solid var(--leaves-bottom-height) var(--leaves-bottom-bg-2); transform: rotateY(-90deg) rotateX(calc(var(--leaves-bottom-angle) * -1)) translateY(var(--leaves-translate)) translateZ(calc(var(--leaves-bottom-width) * -1)); } .leaves-middle div { border-top: none; border-left: solid var(--leaves-middle-width) transparent; border-right: solid var(--leaves-middle-width) transparent; position: absolute; top: var(--star-size); left: calc(50% - var(--leaves-middle-width)); transform-origin: bottom; } .leaves-middle div:nth-child(1) { border-bottom: solid var(--leaves-middle-height) var(--leaves-middle-bg-1); transform: rotateX(var(--leaves-middle-angle)) translateY(var(--leaves-translate)) translateZ(var(--leaves-middle-width)); } .leaves-middle div:nth-child(2) { border-bottom: solid var(--leaves-middle-height) var(--leaves-middle-bg-2); transform: rotateY(90deg) rotateX(calc(var(--leaves-middle-angle) * -1)) translateY(var(--leaves-translate)) translateZ(calc(var(--leaves-middle-width) * -1)); } .leaves-middle div:nth-child(3) { border-bottom: solid var(--leaves-middle-height) var(--leaves-middle-bg-1); transform: rotateX(calc(var(--leaves-middle-angle) * -1)) translateY(var(--leaves-translate)) translateZ(calc(var(--leaves-middle-width) * -1)); } .leaves-middle div:nth-child(4) { border-bottom: solid var(--leaves-middle-height) var(--leaves-middle-bg-2); transform: rotateY(-90deg) rotateX(calc(var(--leaves-middle-angle) * -1)) translateY(var(--leaves-translate)) translateZ(calc(var(--leaves-middle-width) * -1)); } .leaves-top div { border-top: none; border-left: solid var(--leaves-top-width) transparent; border-right: solid var(--leaves-top-width) transparent; position: absolute; top: var(--star-size); left: calc(50% - var(--leaves-top-width)); transform-origin: bottom; } .leaves-top div:nth-child(1) { border-bottom: solid var(--leaves-top-height) var(--leaves-top-bg-1); transform: rotateX(var(--leaves-top-angle)) translateY(var(--leaves-translate)) translateZ(var(--leaves-top-width)); } .leaves-top div:nth-child(2) { border-bottom: solid var(--leaves-top-height) var(--leaves-top-bg-2); transform: rotateY(90deg) rotateX(calc(var(--leaves-top-angle) * -1)) translateY(var(--leaves-translate)) translateZ(calc(var(--leaves-top-width) * -1)); } .leaves-top div:nth-child(3) { border-bottom: solid var(--leaves-top-height) var(--leaves-top-bg-1); transform: rotateX(calc(var(--leaves-top-angle) * -1)) translateY(var(--leaves-translate)) translateZ(calc(var(--leaves-top-width) * -1)); } .leaves-top div:nth-child(4) { border-bottom: solid var(--leaves-top-height) var(--leaves-top-bg-2); transform: rotateY(-90deg) rotateX(calc(var(--leaves-top-angle) * -1)) translateY(var(--leaves-translate)) translateZ(calc(var(--leaves-top-width) * -1)); } @keyframes tree-rotate { 0% { transform: rotateX(0deg) rotateY(0deg); } 99.99999% { transform: rotateX(0deg) rotateY(359deg); } } .shadow { background-color: rgba(0, 0, 0, 0.8); width: calc(var(--leaves-bottom-width) * 2); height: calc(var(--leaves-bottom-width) * 2); filter: blur(calc(var(--leaves-bottom-width) / 2)); position: absolute; bottom: calc(var(--leaves-bottom-width) * -1); left: calc(50% - var(--leaves-bottom-width)); transform: rotateX(90deg) translateX(-50%); animation: 10s shadow-rotate linear infinite; } @keyframes shadow-rotate { 0% { transform: rotateX(-90deg) rotateZ(0deg); } 99.99999% { transform: rotateX(-90deg) rotateZ(359deg); } } .star-1 { transform: translateZ(-2px); animation: 10s star-1-rotate linear infinite; } @keyframes star-1-rotate { 0% { transform: rotateX(0deg) rotateY(0deg) translateZ(-2px); } 99.99999% { transform: rotateX(0deg) rotateY(359deg) translateZ(-2px); } } .star-2 { transform: translateZ(-1px); animation: 10s star-2-rotate linear infinite; } @keyframes star-2-rotate { 0% { transform: rotateX(0deg) rotateY(0deg) translateZ(-1px); } 99.99999% { transform: rotateX(0deg) rotateY(359deg) translateZ(-1px); } } .star-3 { transform: translateZ(0px); animation: 10s star-3-rotate linear infinite; } @keyframes star-3-rotate { 0% { transform: rotateX(0deg) rotateY(0deg) translateZ(0px); } 99.99999% { transform: rotateX(0deg) rotateY(359deg) translateZ(0px); } } .star-4 { transform: translateZ(1px); animation: 10s star-4-rotate linear infinite; } @keyframes star-4-rotate { 0% { transform: rotateX(0deg) rotateY(0deg) translateZ(1px); } 99.99999% { transform: rotateX(0deg) rotateY(359deg) translateZ(1px); } } .star-5 { transform: translateZ(2px); animation: 10s star-5-rotate linear infinite; } @keyframes star-5-rotate { 0% { transform: rotateX(0deg) rotateY(0deg) translateZ(2px); } 99.99999% { transform: rotateX(0deg) rotateY(359deg) translateZ(2px); } } .star, .star:before, .star:after { content: ''; height: 0; width: 0; border-top: solid 30px var(--star-bg); border-left: solid 45px transparent; border-right: solid 45px transparent; position: absolute; top: 0; left: calc(50% - 45px); } .star:before { transform: rotate(72deg); top: -33px; left: -46px; } .star:after { transform: rotate(287deg); top: -33px; left: -44px; } .shine { background: var(--shine-bg); height: 90px; width: 90px; position: absolute; top: -45px; left: calc(50% - 45px); border-radius: 50%; transform: translateZ(40px); filter: blur(20px); opacity: 0.6; animation: 5s shine linear infinite; } @keyframes shine { 0% { transform: scale(1) translateZ(40px); } 50% { transform: scale(1.5) translateZ(40px); } 100% { transform: scale(1) translateZ(40px); } } .snow-container { width: 100%; height: 100%; position: absolute; } .snow { position: absolute; } .snow:before { content: ''; background-color: var(--snow-bg); width: 100%; height: 100%; position: absolute; border-radius: 50%; } .snow-y-1:before { animation: 8s snow-y-1 ease-in infinite, 8s snow-y-0 linear infinite; } .snow-y-2:before { animation: 6s snow-y-2 ease-in infinite, 6s snow-y-0 linear infinite; } .snow-y-3:before { animation: 4s snow-y-2 ease-in infinite, 4s snow-y-0 linear infinite; } .snow-1 { width: 20px; height: 20px; top: calc(50% - 250px); left: calc(50% - 10px); animation: 1s snow-x linear infinite; } .snow-2 { width: 15px; height: 15px; top: calc(50% - 300px); left: calc(50% - 30px); animation: 0.8s snow-x linear infinite 0.1s; } .snow-3 { width: 10px; height: 10px; top: calc(50% - 400px); left: calc(50% + 60px); animation: 0.6s snow-x linear infinite 0.8s; } .snow-4 { width: 25px; height: 25px; top: calc(50% - 200px); left: calc(50% + 50px); animation: 0.5s snow-x linear infinite 0.5s; } .snow-5 { width: 18px; height: 18px; top: calc(50% - 200px); left: calc(50% - 50px); animation: 0.5s snow-x linear infinite 0.5s; } .snow-6 { width: 12px; height: 12px; top: calc(50% - 150px); left: calc(50% - 120px); animation: 0.8s snow-x linear infinite 0.5s; } .snow-7 { width: 20px; height: 20px; top: calc(50% - 150px); left: calc(50% + 75px); animation: 1s snow-x linear infinite 0.6s; } .snow-8 { width: 22px; height: 22px; top: calc(50% - 10px); left: calc(50% - 30px); animation: 1s snow-x linear infinite 0.8s; } .snow-9 { width: 8px; height: 8px; top: calc(50% - 250px); left: calc(50% - 30px); animation: 1s snow-x linear infinite 0.8s; } .snow-10 { width: 13px; height: 13px; top: calc(50% - 250px); left: calc(50% - 100px); animation: 1s snow-x linear infinite 0.8s; } @keyframes snow-x { 0% { transform: translateX(0px); } 25% { transform: translateX(5px); } 50% { transform: translateX(0px); } 75% { transform: translateX(-5px); } 100% { transform: translateX(0px); } } @keyframes snow-y-0 { 0% { opacity: 1; } 60% { opacity: 1; } 100% { opacity: 0; } } @keyframes snow-y-1 { 0% { transform: translateY(0px); } 99.99999% { transform: translateY(300px); } 100% { transform: translateY(0px); } } @keyframes snow-y-2 { 0% { transform: translateY(0px); } 99.99999% { transform: translateY(400px); } 100% { transform: translateY(0px); } } @keyframes snow-y-3 { 0% { transform: translateY(0px); } 99.99999% { transform: translateY(500px); } 100% { transform: translateY(0px); } } .message { display: flex; font-size: 100px; font-weight: 800; color: #5FE85F; font-family: sans-serif; vertical-align: middle; font-family: 'Courier New', Courier, monospace; background: url(http://pm1.narvii.com/6380/3990038ed73ad3832195151af1c9438ca5ff765f_00.jpg); }
61
Christmas Tree
By:
rald_dev
html,body{ height:100%; margin:0; padding:0; } #myDIV { height: 619px; background: -webkit-linear-gradient(#594f4f,#5479b0, #45adab, #9de0ad, #e5fcc2); -webkit-animation: mymove 5s infinite; /* Chrome, Safari, Opera */ animation:mymove 10s fadeIn infinite; } @keyframes mymove { 0% {-webkit-linear-gradient(#99b898,#feceab,#ff847c,#e84a5f, #2a363b); } 16% {background:linear-gradient( #76ad39, #cdff8a, #21ac6b, #36e3cf);} 38%{ -webkit-linear-gradient(#e5fcc2,#9de0ad,#45ada8,#547980, #594f4f); } 54% {background:linear-gradient( #432b58, #734b6f, #6f1bd1, #b042c4);} 70%{background:linear-gradient(#904e95, #e96450, #ef7d1c, #a14aeb); } 86% {background:linear-gradient( #ff5f6d, #ffc371, #f4ab22, #e5dd14);} 92%{background:linear-gradient(#e96450, #f73a1e, #aa9d93, #891056); } 100% {background:linear-gradient(#0ee5cc, #29f2bc, #a32c8d, #d93ccd);}
61
Simple gradient animation
By:
rald_dev
body{ background:#133; } .container{ width:200px; height:200px; margin:10px auto; background:; } #flame-1{ height:95px; width:95px; background:#ff7200; position:relative; top:52px; left:2px; margin:30px 70px; border-radius:0% 50% 70% 50%; transform:rotateZ(45deg) scale(1.1); filter: drop-shadow(0 0 10px #d43322); animation:scale-alternate 2s ease-in-out infinite; } #flame-2{ height:75px; width:75px; background:#ef5a00; position:relative; top:162px; left:-20px; margin:30px 70px; border-radius:0% 40% 60% 40%; transform:scaleX(0.8) rotatez(45deg); filter: drop-shadow(0 0 10px #d43322); animation: scale-up 2s ease-in-out infinite; } #flame-3{ height:75px; width:75px; background:#ef5a00; position:relative; top:-60px; left:50px; margin:30px 70px; border-radius:0% 40% 60% 40%; transform:scaleX(0.8) rotatez(45deg); filter: drop-shadow(0 0 10px #d43322); animation: scale-up-3 3s ease-in-out infinite; } .wood{ width:20px; height:120px; background:#563111; border-radius:5px; } #wood-1{ transform:rotate(72deg); position:relative; top:-220px; left:117px; } #wood-2{ transform:rotate(106deg); position:relative; top:-340px; left:115px; } .small-element{ height:20px; width:20px; border-radius:50%; background: #ef5a00; position:relative; top:-130px; left:110px; } #small-element-1{ animation: particle-up 3.5s ease-in-out infinite; } #small-element-2{ animation: particle-up 3s ease-in-out infinite; } .fire-bottom .main-fire { position: relative; top: -190px; left: 90px; width: 55px; height: 55px; background-color: #ff7800; transform: scaleX(0.8) rotate(45deg); border-radius: 0 40% 100% 40%; filter: blur(8px); animation: glow 2s ease-out 0; animation-iteration-count: infinite; animation-fill-mode: both; } @keyframes glow{ 0%,100%{ background:#ef5a00; } 50%{ background:#ff7800; } } @keyframes scale-up-3{ 0%,100%{ transform:scale(1.1) rotatez(45deg); } 40%,90%{ transform:scale(0.96) rotatez(45deg); } 30%,75%{ transform:scale(0.90) rotatez(45deg); } } @keyframes scale-up{ 0%,100%{ transform:scale(1) rotatez(45deg); } 40%,90%{ transform:scale(0.96) rotatez(45deg); } 30%,75%{ transform:scale(0.90) rotatez(45deg); } } @keyframes scale-alternate{ 0%,100%{ transform:scale(1.1) rotatez(45deg); } 30%,90%{ transform:scale(0.90) rotatez(45deg); } 45%,60%{ transform:scale(0.96) rotatez(45deg); } 50%,75%{ transform:scale(0.97) rotatez(45deg); } } @keyframes particle-up{ 0%{ top:-130px; left:110px; } 100%{ position:relative; opacity:0.8; top:-270px; left:145px; transform:scale(0.1); } }
61
Fire Animation
By:
rald_dev
Button
@property --color-effect-1 { syntax: ""; inherits: true; initial-value: #764ba2; } @property --color-effect-2 { syntax: ""; inherits: true; initial-value: #66a6ff; } .button { cursor:pointer; padding: 12px 20px; background:linear-gradient(90deg, var(--color-effect-1), var(--color-effect-2)); border:none; outline: none; color:#FFF; font-size:18px; transition: --color-effect-1 1000ms, --color-effect-2 1000ms; } .button:hover, .button:focus-visible { --color-effect-1:#66a6ff; --color-effect-2:#764ba2; }
61
Gradient hover button
By:
rald_dev
body { min-height: 100vh; margin: 0; display: flex; align-items: center; justify-content: center; background-color: #6a3be4; } .container { position: relative; } .progress { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); background-color: #fff; border-style: solid; border-color: #c1edff; border-width: 2px; border-radius: 50px; width: 250px; height: 50px; box-shadow: 0 0 20px rgba(0, 0, 0, .2); animation: progress 3s infinite linear; } .ball { position: absolute; height: 42px; width: 42px; background-color: #02a9f4; border-radius: 50%; top: 4px; left: 4px; animation: ball 1.5s ease-in-out alternate infinite; } @keyframes progress { to {transform: translate(-50%, -50%) rotate(360deg);} } @keyframes ball { to {left: 204px;} }
60
Bouncing ball v3
By:
rald_dev
body { width: 100%; height: 100%; margin: 0; padding: 0; } #ms-container { width: 100%; height: 100vh; background: #1c9cf2; } .ms-content { position: absolute; width: 200px; height: 200px; top: 0; left: 0; right: 0; bottom: 0; margin: auto; border: 10px solid #2ea4f2; border-radius: 100%; } .ms-content-inside { width: 100%; height: 100%; position: relative; } .ms-line-down-container { position: absolute; top: 0; left: 0; right: 0; bottom: 0; transform: rotate(0deg); transition: transform 0s ease; } #ms-download { display: none; } #ms-download:checked ~ .ms-line-down-container { transform: rotate(-360deg); transition: transform 1.5s ease 1.25s; } .ms-line-down { position: absolute; top: 0; right: 0; left: 0; bottom: 0; margin: auto; width: 10px; height: 125px; background: #FFFFFF; border-radius: 50px; transition: height .5s ease; } #ms-download:checked ~ .ms-line-down-container .ms-line-down { height: 10px; top: -20px; animation: ms-bounce .5s forwards .55s; } #ms-download:checked ~ .ms-line-down-container .ms-line-down:before { content: ''; position: absolute; top: 0; left: -94px; right: 0; bottom: 0; width: 200px; height: 200px; border: 10px solid transparent; border-radius: 100%; animation: ms-border-fill .5s forwards 3s; } .ms-line-point { position: absolute; top: 0; left: 0; right: 0; bottom: 0; margin: auto; width: 58px; height: 130px; transition: height .15s ease .45s; } #ms-download:checked ~ .ms-line-point { height: 60px; } #ms-download:checked ~ .ms-line-point:before { transform: rotate(90deg); right: -10px; animation: ms-check-right .25s forwards 3s; } #ms-download:checked ~ .ms-line-point:after { transform: rotate(-90deg); left: -10px; animation: ms-check-left .25s forwards 3s; } .ms-line-point:before, .ms-line-point:after { content: ''; position: absolute; width: 10px; height: 75px; bottom: -10px; background: #FFFFFF; border-radius: 50px; transition: transform .15s ease .47s, left .15s ease .47s, right .15s ease .47s; } .ms-line-point:before { right: 0px; transform: rotate(45deg); } .ms-line-point:after { left: 0px; transform: rotate(-45deg); } @keyframes ms-bounce { 0% { top: -20px; } 25% { top: -250px; } 50% { top: -275px; } 100% { top: -190px; } } @keyframes ms-check-left { 0% { transform: rotate(-90deg); left: -10px; height: 75px; } 100% { transform: rotate(-45deg); left: 0px; height: 45px; } } @keyframes ms-check-right { 0% { transform: rotate(90deg); right: -10px; height: 75px; bottom: -10px; } 100% { transform: rotate(45deg); right: 10px; height: 80px; bottom: -15px; } } @keyframes ms-border-fill { 0% { border: 10px solid transparent; } 100% { border: 10px solid #FFFFFF; } }
60
Download Animation
By:
rald_dev
.credit-card { animation: slide 3s infinite; } .coin1 { animation: drop 3s infinite; } .coin2 { animation: drop 6s infinite; } .coin3 { animation: drop 8s infinite; } @keyframes drop { 0% { transform: translate3d(50px, 50px, 0px); } 50% { transform: translate3d(25px, 500px, 0px); } 100% { transform: translate3d(0px, 800px, 0px); } } @keyframes slide { 0% { transform: translate3d(0%, 40px, 0px); animation-timing-function: ease-in; } 10% { transform: translate3d(10%, 90px, 0px); animation-timing-function: ease-out; } 20% { transform: translate3d(20%, 40px, 0px); animation-timing-function: ease-in; } 30% { transform: translate3d(30%, 90px, 0px); animation-timing-function: ease-out; } 40% { transform: translate3d(40%, 40px, 0px); animation-timing-function: ease-in; } 50% { transform: translate3d(50%, 90px, 0px); animation-timing-function: ease-out; } 60% { transform: translate3d(60%, 40px, 0px); animation-timing-function: ease-in; } 70% { transform: translate3d(70%, 90px, 0px); } 80% { transform: translate3d(80%, 40px, 0px); animation-timing-function: ease-in; } 90% { transform: translate3d(90%, 90px, 0px); animation-timing-function: ease-out; } 100% { transform: translate3d(100%, 40px, 0px); animation-timing-function: ease-in; } }
60
Credit Card Animation
By:
rald_dev
@keyframes fluid { 0% { border-radius: 100% 10% 100% 100%; } 50% { border-radius: 50% 50% 50% 100%; } 100% { border-radius: 100% 10% 100% 100%; } } body { background: linear-gradient(to top,#F5F5FF,transparent); } div { position: absolute; top: 50%; right: 50%; transform: translate(50%,-50%) rotate(-45deg); height: 150px; width: 150px; background: linear-gradient(45deg,#0300FF,#00D2FF); box-shadow: 5px 10px 50px rgba(0,0,0,.3); animation: fluid 3s infinite ease-in-out; }
60
Fluid Animation
By:
rald_dev
Previous
1
…
6
7
8
9
10
Next