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); } }
80
Glowing Loader Ring Animation
By:
rald_dev
ul { margin-left: 20px; margin-top: 20px; } li { float: left; width: 16px; height: 64px; background: #aeb5da; border: 1px solid #8490c6; box-sizing: border-box; margin-right:8px; opacity: 0.2; } li:nth-child(1) { animation-name: anim; animation-duration: .9s; animation-timing-function: linear; animation-iteration-count: infinite; } li:nth-child(2) { animation-name: anim; animation-duration: .9s; animation-delay: .3s; animation-timing-function: linear; animation-iteration-count: infinite; } li:nth-child(3) { animation-name: anim; animation-duration: .9s; animation-delay: .6s; animation-timing-function: linear; animation-iteration-count: infinite; } @keyframes anim { from { opacity: 1; transform: scale(1.1); } to { opacity: 0.2; transform: scale(1); } }
79
Facebook Loading 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; }
79
Box border 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; } }
78
Typewriter Effect -Single Word 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;}
78
Navigation Menu [
By:
rald_dev
* { margin: 0; padding: 0; box-sizing: border-box; border: none; outline: none; } body { margin: 0; padding: 0; } .loader { width: 100%; height: 100%; background-color: #f0f0f0; position: fixed; top: 0; left: 0; display: flex; align-items: center; justify-content: center; overflow: hidden; z-index: 1; } .loader-container { width: 120px; height: 120px; } .loader-block { width: 16px; height: 16px; background-color: #ff2d37; border-radius: 3px; margin-right: 10px; margin-bottom: 10px; position: relative; float: left; animation: wave 1.5s infinite; } .loader-block:nth-child(4n + 2) { animation-delay: 0.2s; } .loader-block:nth-child(4n + 3) { animation-delay: 0.4s; } .loader-block:nth-child(4n + 4) { animation-delay: 0.6s; } /* Create a wave animation */ @keyframes wave { 0% { top: 0; opacity: 1; } 50% { top: 30px; opacity: 0.2; } 100% { top: 0; opacity: 1; } }
78
Wavy Preloader Animation
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; }
77
Simple Hamburger Menu with 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; } }
77
Iphone 6
By:
rald_dev
html, body { width: 100%; height: 100%; background-color: #333; } .c-scrolldown { width: 1px; height: 60px; position: absolute; bottom: 20px; left: 0; right: 0; margin: 0 auto; overflow: hidden; } .c-scrolldown .c-line { width: 100%; height: 100%; display: block; background: linear-gradient(to bottom, white 50%, rgba(255, 255, 255, 0) 50%); background-position: 0 -60px; background-size: 100% 200%; animation: scrolldown 2.2s cubic-bezier(0.76, 0, 0.3, 1) forwards infinite; } @keyframes scrolldown { 0% { background-position: 0 -60px; } 75% { background-position: 0 0; } 100% { background-position: 0 60px; } }
77
scroll down line animation
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); } }
77
Loading 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); } }
77
Geometric Animation
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;} }
77
Countdown Timer
By:
rald_dev
Previous
1
…
6
7
8
9
10
Next