Start Coding
All
Accordion
Buttons
Cards
Carousel
Css Animation
Hexagons
Hover
Layout
Loaders
Menu
Navigation
Slider
Tables
Wave
All
Loading
*, html,body{ padding:0px; margin:0px; box-sizing:border-box; font-family:'Poppins', sans-serif; } ::selection{ background-color:#2d98da; color:#fff; } body{ background-color:#227093; display:flex; justify-content:center; align-items:center; width:100%; min-height:100vh; } .Box{ position:relative; width:150px; height:150px; border:3px solid rgba(255,255,255,.2); border-radius:50%; text-align:center; line-height:150px; color:#57beec; font-size:20px; box-shadow:0px 0px 10px rgba(0,0,0,.2); font-weight:bold; } .Box:before{ content:''; position:absolute; top:-3px; left:-3px; width:100%; height:100%; background-color:transparent; border:3px solid transparent; border-top:3px solid #57beec; border-right:3px solid #57beec; border-radius:50%; transform:rotate(0deg); animation:SpanLoading 2s linear infinite; } .Box span{ position:absolute; top: 50%; left:50%; width:50%; height:3px; background-color:transparent; transform-style:preserve-3d; transform-origin:left; transform:rotate(42deg); animation:Loading 2s linear infinite; } .Box span:before{ content:''; position:absolute; width:15px; height:15px; border-radius:50%; background-color:#57beec; right:-7px; bottom:-7px; box-shadow:0px 0px 10px #57beec; } @keyframes Loading{ 0%{ transform:rotate(42deg); } 100%{ transform:rotate(402deg); } } @keyframes SpanLoading{ 0%{ transform:rotate(0deg); } 100%{ transform:rotate(360deg); } }
56
Glowing Loader Ring Animation
By:
rald_dev
Made by @_dlarskie
now
12:42
Saturday, January 4
slide to unlock
86%
/* No images in this pen :D */ @font-face { font-family: Helvetica; src: url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/164210/HelveticaNeue-UltraLight.otf) format('TrueType'); font-weight: 300; } body { font-family: 'Helvetica', sans-serif; background: #f5f5f5; color: #333; letter-spacing: 1px; } html,body { height: 100%; margin: 0; padding: 0; overflow: hidden; } #wrapper { height: 520px; width: 800px; margin-left: -400px; margin-top: -260px; position: absolute; perspective: 6000px; top: 50%; left: 50%; } #iphone { height: 760px; width: 372px; border-radius: 50px; position: absolute; background: none; box-shadow: none; left: 206px; top: -140px; transform: rotateX(54deg) rotateZ(-46deg); transform-style: preserve-3d; } #side { background: #CDD0D5; width: 393px; height: 780px; border-top-left-radius: 77px; border-bottom-left-radius: 49px; border-bottom-right-radius: 86px; border-top-right-radius: 70px; position: absolute; top: 0px; left: -15px; box-shadow: inset #3D3E42 0 0 15px 9px; transform: translateZ(-10px); } #front { width: 362px; height: 750px; border-radius: 49px; position: absolute; background-image: -webkit-linear-gradient(-27deg,#444,#000 10%, #000 42%, #333, #000 57%, #000 91%, #444); left: 5px; top: 5px; box-shadow: inset #000 0 0 0 4px, #555 0px 0 3px 0px, #222 -3px 2px, #000 -5px 5px, #E0E0E0 -7px 6px 1px, #6D6D6D -7px 6px 9px; transform: translateZ(1px); } #front-cover { width: 344px; height: 734px; background: #000; border-radius: 39px; position: absolute; top: 8px; left: 9px; } #home { position: absolute; width: 52px; height: 52px; border-radius: 50%; background: -webkit-linear-gradient(32deg,#666,#000,#666); top: 684px; left: 160px; } #home div { background: #000; border-radius: 50%; width: 46px; height: 46px; position: absolute; left: 3px; top: 3px; } #camera { width: 11px; height: 11px; background: #000; position: absolute; top: 35px; left: 124px; border-radius: 50%; box-shadow: inset #666 -5px 2px 9px -2px; } #camera div { width: 6px; height: 6px; background: radial-gradient(#E1E4F5,#0D2B69 33%); background-position: -1px -1px; position: absolute; top: 3px; left: 3px; border-radius: 50%; } #speaker { width: 50px; height: 4px; border-radius: 2px; background: #555; position: absolute; top: 39px; left: 156px; box-shadow: inset #222 0 0px 4px; } #volume { height: 128px; width: 11px; border-radius: 10px; position: absolute; background: #F9F9FA; top: 171px; left: -20px; transform: rotateY(95deg); transform-style: preserve-3d; box-shadow: inset #292A2F 4px 0 8px 1px, #D5D5D5 -1px 0px 2px; } #volume div { width: 8px; height: 55px; background: #BBBCC0; border-radius: 10px; position: absolute; box-shadow: #eee -1px 1px, #777 -1px 3px, #505057 -3px 3px, inset #909197 -3px 0 3px; } #volume div:first-child { top: 2px; left: 4px; } #volume div:last-child { top: 69px; left: 4px; } #toggler { height: 34px; width: 8px; border-radius: 10px; position: absolute; background: #2B2C31; top: 105px; left: -20px; transform: rotateY(95deg); transform-style: preserve-3d; box-shadow: inset #292A2F 4px 0 8px 1px, #D5D5D5 -1px 0px 2px; } #toggler div { width: 4px; height: 31px; background: #BBBCC0; border-radius: 10px; position: absolute; box-shadow: #eee -1px 1px, #777 -2px 3px, #505057 -3px 3px, inset #909197 -3px 0 3px; top: -1px; left: 3px; } #aux { width: 19px; height: 19px; background: #3B3B3B; border-radius: 50%; transform: rotateX(90deg) translateZ(1px); transform-style: preserve-3d; position: absolute; top: 766px; left: 45px; box-shadow: inset #000 6px -3px 10px 1px, #C7C7C7 1px 0px 1px; } #lightning { width: 48px; height: 12px; border-radius: 10px; background: #3F3F3F; transform: rotateX(90deg) translate3d(0px,1px,0px); top: 771px; position: absolute; left: 139px; box-shadow: inset #8E8F94 -1px 1px 0px 2px, #515258 0px 0px 0 1px, inset #000 0 -3px 10px, #DADADA 1px 0 0 1px; } #bottom-speaker { position: absolute; transform: rotateX(90deg); top: 781px; left: 70px; } #bottom-speaker div { width: 8px; height: 8px; border-radius: 50%; background: #6C6D72; position: absolute; box-shadow: inset #000 1px -1px 4px 1px, #DADADA 1px 0px; } #bottom-speaker div:nth-child(2) { left: 150px; } #bottom-speaker div:nth-child(3) { left: 162px; } #bottom-speaker div:nth-child(4) { left: 174px; } #bottom-speaker div:nth-child(5) { left: 186px; } #bottom-speaker div:nth-child(6) { left: 198px; } #bottom-speaker div:nth-child(7) { left: 210px; } #skrews { position: absolute; top: 780px; left: 120px; transform: rotateX(90deg); } #skrews div { position: absolute; width: 8px; height: 8px; background: rgb(95, 92, 92); border-radius: 50%; top: 0; z-index: 4; box-shadow: inset #999AA0 0 0 0px 2px, #444 1px 0px; } #skrews div:last-child { left: 70px; } #lines { position: absolute; top: 82px; left: -32px; display: none; } #lines > div:last-child { top: 634px; } #lines div { width: 7px; height: 11px; position: absolute; transform-style: preserve-3d; transform-origin: 100% 100%; } #lines > div { background: -webkit-linear-gradient(right,#393A3C,#5A595E); transform: rotateY(90deg); } #lines > div > div { background: -webkit-linear-gradient(right,#5A595E,#87868A); transform: rotateY(17deg); left: -6px; } #lines > div > div > div { background: -webkit-linear-gradient(right,#87868A,#A8A6AD); transform: rotateY(17deg); left: -6px; } #shadow { width: 350px; height: 755px; background: black; position: absolute; top: 5px; left: 0; transform: translateZ(-17px); transform-style: preserve-3d; box-shadow: #000 0 0 10px 15px; opacity: 0.4; border-top-left-radius: 76px; border-top-right-radius: 200px; border-bottom-left-radius: 40px; border-bottom-right-radius: 56px; } #screen { background: -webkit-linear-gradient(#A1E5E5,#1987AA); width: 336px; height: 589px; position: absolute; top: 80px; left: 13px; font-weight: 300; color: #fff; background-size: 200% 100%; overflow: hidden; } #time { font-size: 86px; left: 57px; top: 37px; position: absolute; } #date { font-size: 20px; left: 85px; top: 130px; position: absolute; } #bottom { width: 37px; height: 7px; border-radius: 5px; background: #2AB1DB; position: absolute; top: 573px; left: 149px; } #top { width: 37px; height: 7px; border-radius: 5px; background: #D7FFFF; position: absolute; top: 10px; left: 149px; } #slide { position: absolute; top: 489px; left: 88px; font-size: 28px; color: #2AB1DB; background: -webkit-linear-gradient(left,#2EC4F3 30%,#fff,#2EC4F3 70%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-size: 350px; animation: slide 5s linear infinite; } @keyframes slide { 0% { background-position: 100px 0; } 40% { background-position: 440px 0; } 100% { background-position: 440px 0; } } #slide div { transform: rotate(135deg); border-left: 2px solid #2AB1DB; border-top: 2px solid #2AB1DB; width: 15px; height: 15px; position: absolute; left: -29px; top: 10px; } #signal { position: absolute; top: 9px; left: 7px; } #signal div { width: 6px; height: 6px; border-radius: 50%; background: #fff; border: 1px solid #fff; position: absolute; } #signal div:nth-child(2) { left: 9px; } #signal div:nth-child(3) { left: 18px; } #signal div:nth-child(4) { left: 27px; } #signal div:nth-child(5) { left: 36px; background: none; } #battery { position: absolute; top: 3px; left: 270px; font-size: 13px; } #battery > div:last-child { width: 27px; height: 9px; border: 1px solid #fff; position: absolute; top: 4px; left: 27px; border-radius: 2px; } #battery div div:first-child { width: 21px; height: 7px; background: #fff; position: absolute; top: 1px; left: 1px; } #battery div div:last-child { width: 1px; height: 6px; background: #FFF; position: absolute; left: 29px; top: 2px; border-radius: 0 1px 1px 0; } #fabrizio { border-top: 100px solid black; border-right: 63px solid transparent; width: 0; transform: scale(.33); transform-origin: 0 0; margin: 20px; opacity:.6; position: absolute; bottom: -130px; } #fabrizio:before { background: black; width: 20px; height: 30px; content: ''; display: block; transform: skewX(-32deg); position: relative; top: -65px; left: 29px; } #fabrizio:after { background: black; width: 40px; height: 36px; content: ''; display: block; transform: skewX(-32deg); position: relative; top: -130px; left: 49px; } #circle { width: 50px; height: 50px; background: none; border-radius: 50%; box-shadow: rgba(255,255,255,0.1) 160px 335px,rgba(255,255,255,0.1) 120px 275px 0 12px,rgba(255,255,255,0.1) 60px 355px 0 23px,rgba(255,255,255,0.1) 230px 445px 0 -8px,rgba(255,255,255,0.1) 60px 125px,rgba(255,255,255,0.1) 260px 145px 0 12px,rgba(255,255,255,0.1) 300px 145px 0 23px,rgba(255,255,255,0.1) 100px 85px 0 -8px,rgba(255,255,255,0.1) 50px 155px,rgba(255,255,255,0.1) 150px 273px 0 -2px,rgba(255,255,255,0.1) 50px 555px 0 23px,rgba(255,255,255,0.1) 180px 5px 0 -8px; animation: circle 30s linear infinite alternate; } @keyframes circle { 0%{ box-shadow: rgba(255,255,255,0.1) 160px 335px,rgba(255,255,255,0.1) 120px 275px 0 12px,rgba(255,255,255,0.1) 60px 355px 0 23px,rgba(255,255,255,0.1) 230px 445px 0 -8px,rgba(255,255,255,0.1) 60px 125px,rgba(255,255,255,0.1) 260px 145px 0 12px,rgba(255,255,255,0.1) 300px 145px 0 23px,rgba(255,255,255,0.1) 100px 85px 0 -8px,rgba(255,255,255,0.1) 350px 555px,rgba(255,255,255,0.1) 350px 273px 0 -2px,rgba(255,255,255,0.1) 150px 355px 0 23px,rgba(255,255,255,0.1) 180px 205px 0 -8px,rgba(255,255,255,0.1) 0px 0px 0 -8px,rgba(255,255,255,0.1) 100px 555px 0 10px; } 100%{ box-shadow: rgba(255,255,255,0.1) 70px 10px,rgba(255,255,255,0.1) 300px 205px 0 12px,rgba(255,255,255,0.1) 0px 155px 0 23px,rgba(255,255,255,0.1) 330px 45px 0 -8px,rgba(255,255,255,0.1) 460px 325px,rgba(255,255,255,0.1) 0px 445px 0 12px,rgba(255,255,255,0.1) 300px 145px 0 23px,rgba(255,255,255,0.1) 100px 85px 0 -8px,rgba(255,255,255,0.1) 50px 155px,rgba(255,255,255,0.1) 150px 273px 0 -2px,rgba(255,255,255,0.1) 0px 555px 0 23px,rgba(255,255,255,0.1) 180px 5px 0 -8px,rgba(255,255,255,0.1) 300px 555px 0 -8px,rgba(255,255,255,0.1) 350px 355px 0 10px; } } #reminder { position: absolute; top: 230px; left: 40px; width: 296px; height: 50px; border-top: 1px solid #86E2F0; border-bottom: 1px solid #86E2F0; line-height: 50px; font-weight: 400; opacity: 0; animation: reminder .1s linear forwards 5s; } #reminder div:first-child { background: #fff; width: 16px; height: 16px; border-radius: 3px; position: absolute; top: 18px; } #reminder div:nth-child(2) { position: absolute; left: 30px; } #reminder div:last-child{ position: absolute; left: 251px; font-size: 11px; color: #86E2F0; } @keyframes reminder { 100% { opacity: 1; } } #awwwards { position: absolute; bottom: 30px; left: 70px; } #awwwards a { color: #444; text-decoration: none; border-bottom: 1px solid #888; } #coolors { position: absolute; bottom: 30px; right: 30px; color: #444; text-decoration: none; border-bottom: 1px solid #888; animation: coolors 1s infinite; opacity: 1; } @keyframes coolors { 50% { right: 40px; } }
55
Iphone 6
By:
rald_dev
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) } }
55
Loading dots animation
By:
rald_dev
* { margin: 0; padding: 0; box-sizing: border-box; } body { background: #ffffff; align-items: center; min-height: 100vh; display: flex; } .box-outer { overflow: hidden; margin: 50px auto; width: 200px; height: 200px; } .main_box { width: 200px; height: 200px; position: relative; background: #f34c4c; border: 5px solid #ffffff; } .bar { position: absolute; width: 50px; height: 5px; background: rgb(0, 0, 0); transition: all 1s linear; animation-duration: 1s; animation-fill-mode: both; animation-iteration-count: infinite; } .bar.delay { animation-delay: 0.5s; } .top { top: -5px; left: -5px; } .right { top: 18px; right: -28px; transform: rotate(90deg); } .bottom { bottom: -5px; left: -5px; } .left { top: 18px; left: -28px; transform: rotate(90deg); } @-webkit-keyframes h-move { 0% { left: -5px; } 100% { left: 200px; } } @keyframes h-move { 0% { left: -5px; } 100% { left: 200px; } } .top, .bottom { animation-name: h-move; } @-webkit-keyframes v-move { 0% { top: -5px; } 100% { top:228px; } } @keyframes v-move { 0% { top: -5px; } 100% { top:228px; } } .right, .left { animation-name: v-move; }
55
Box border 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); }
54
Christmas Tree
By:
rald_dev
* { padding: 0; margin: 0; box-sizing: border-box; } .container { height: 100vh; width: 100vw; overflow: hidden; background: #485563; background: -webkit-linear-gradient(to right, #29323c, #485563); background: linear-gradient(to right, #29323c, #485563); display: flex; justify-content: center; align-items: center; } .menu_icon { width: 55px; height: 55px; margin: auto; z-index: 10; cursor: pointer; position: relative; display: flex; align-items: center; padding: 5px 0; } .menu_icon span { position: absolute; display: block; height: 5px; width: 60px; background-color: #fff; transform: rotate(0); transition: all 200ms cubic-bezier(0.68, -0.55, 0.265, 1.55); } span.one { top: 0px; width: 40px; } span.two { top: 25px; width: 30px; } span.three { top: 50px; width: 50px; } .menu_icon:hover .one { animation: width 2s ease infinite; } .menu_icon:hover .two { animation: width1 2s ease infinite; } .menu_icon:hover .three { animation: width2 2s ease infinite; } @keyframes width { 0% { width: 30px; } 25% { width: 60px; } 50% { width: 20px; } 75% { width: 60px; } 100% { width: 30px; } } @keyframes width1 { 0% { width: 40px; } 25% { width: 20px; } 50% { width: 60px; } 75% { width: 20px; } 100% { width: 40px; } } @keyframes width2 { 0% { width: 50px; } 25% { width: 10px; } 50% { width: 40px; } 75% { width: 60px; } 100% { width: 50px; } } .clicked .one { transform: translateY(25px) rotate(45deg); width: 70px; } .clicked .two { transform: translateX(-100vw); opacity: 0; width: 70px; } .clicked .three { transform: translateY(-25px) rotate(-45deg); width: 70px; } .clicked.menu_icon:hover .one, .clicked.menu_icon:hover .three { animation: normal; }
54
Simple Hamburger Menu with Animation
By:
rald_dev
Input Animation
Your Text
body { height: 100vh; width: 100vw; display: flex; justify-content: center; align-items: center; flex-direction: column; background-color: #f38181; font-family: "montserrat", sans-serif; font-weight: 500; color: #fff; } h1 { padding-bottom: 30px; font-weight: 900; font-size: 35px; } .form { width: 30%; position: relative; height: 60px; overflow: hidden; } .form input { width: 100%; height: 100%; color: #fff; padding-top: 20px; border: none; background-color: #f38181; } .form label { position: absolute; bottom: 0px; left: 0px; width: 100%; height: 100%; pointer-events: none; border-bottom: 1px solid white; } .form label::after { content: ""; position: absolute; bottom: -1px; left: 0px; width: 100%; height: 100%; border-bottom: 3px solid #fce38a; transform: translateX(-100%); transition: all 0.3s ease; } .content-name { position: absolute; bottom: 0px; left: 0px; padding-bottom: 5px; transition: all 0.3s ease; } .form input:focus { outline: none; } .form input:focus + .label-name .content-name, .form input:valid + .label-name .content-name { transform: translateY(-150%); font-size: 14px; left: 0px; color: #fce38a; } .form input:focus + .label-name::after, .form input:valid + .label-name::after { transform: translateX(0%); }
54
Input
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);}
54
Simple gradient animation
By:
rald_dev
Profile
My page
Friends
Groups
Messages
Inbox
Sent
Trash
Settings
Account
History
Logout
Profile
My page
Friends
Groups
Messages
Inbox
Sent
Trash
Settings
Account
History
Logout
body {background:#0f0f0f; font-family:Arial, Helvetica, sans-serif;} a, a:link, a:visited, a:hover, a:active {color:inherit; text-decoration:none;} .menu {position:absolute; top:50%; left:50%; width:15em; height:auto; transform:translate(-50%, -50%); overflow:hidden; border-radius:0.25em; background:#333;} .menu-block {background:#369; color:#fff;} .menu-block:target .submenu {max-height:10em; padding:1em 0 0.5em 0;} .block-title {display:block; position:relative; padding:1em; border-bottom:1px solid #258;} .menu-block:target .block-title {border-bottom:1px solid #369;} .block-title i {margin-right:0.5em;} .block-title:before {content:""; position:absolute; display:none; width:1em; height:1em; background:#369; left:1em; bottom:-0.5em; transform:rotate(45deg);} .menu-block:target .block-title:before {display:block;} .submenu {background:#333; padding:0; overflow:hidden; max-height:0; transition:all 0.25s linear;} .submenu a {display:block; position:relative; padding:0.25em 1em; margin:0.25em 0;} .submenu a:before {content:""; position:absolute; width:0.2em; height:100%; background:none; top:0; left:0.25em; transition:background 0.25s linear;} .submenu a:hover:before {background:#369;} .submenu a i {margin-right:0.5em;}
54
Navigation Menu [
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); } }
54
Loading Animation
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); } }
54
Rainbow Background
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); } }
53
Ferris Wheel Animation
By:
rald_dev
Previous
1
…
5
6
7
8
9
10
Next