Start Coding
All
Accordion
Buttons
Cards
Carousel
Css Animation
Hexagons
Hover
Layout
Loaders
Menu
Navigation
Slider
Tables
Wave
All
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); } }
30
Fire Animation
By:
rald_dev
We build
websites
brands
experiences
body{ margin: 0; padding: 0; font-family: 'Abril Fatface', serif; } .slider{ height: 600px; background-color: #293132; text-align: center; position: relative; animation: slideColor 10s forwards infinite; } .caption{ line-height: 100px; font-size: 60px; color: #fff; position: relative; top: 50%; transform: translateY(-50%); text-shadow: 0px 5px 5px rgba(0,0,0,.25); margin-left: -300px; } .text-box{ display: inline-block; position: relative; } .text-box div{ display: inline-block; position: absolute; top: -200px; transform: rotateX(-90deg); opacity: 0; text-shadow: 0px 5px 5px rgba(0,0,0,.25); animation-timing-function: ease; } .text-box div:nth-child(1){ animation: rollDown 10s forwards infinite; } .text-box div:nth-child(2){ animation: rollDown2 10s forwards infinite; } .text-box div:nth-child(3){ animation: rollDown3 10s forwards infinite; } @keyframes rollDown { 0%{ top: -200px; transform: rotateX(-90deg); } 11%{ top: -74px; transform: rotateX(0deg); opacity: 1; } 22%{ top: -74px; transform: rotateX(0deg); opacity: 1; } 33%{ top: 50px; transform: rotateX(30deg); opacity: 0; } } @keyframes rollDown2 { 33%{ top: -200px; transform: rotateX(-90deg); } 44%{ top: -74px; transform: rotateX(0deg); opacity: 1; } 55%{ top: -74px; transform: rotateX(0deg); opacity: 1; } 66%{ top: 50px; transform: rotateX(30deg); opacity: 0; } } @keyframes rollDown3 { 66%{ top: -200px; transform: rotateX(-90deg); } 77%{ top: -74px; transform: rotateX(0deg); opacity: 1; } 88%{ top: -74px; transform: rotateX(0deg); opacity: 1; } 99%{ top: 50px; transform: rotateX(30deg); opacity: 0; } } @keyframes slideColor{ 0%{ background-color: #387780; } 33%{ background-color: #3f88c5; } 66%{ background-color: #588b8b; } 100%{ background-color: #387780; } }
30
Rolling text animation
By:
rald_dev
header
nav
section
/* Note: This example only works with Windows Insider Preview Builds 16237+ or the Fall Creators Update. */ body { font-family: segoe-ui_normal,Segoe UI,Segoe,Segoe WP,Helvetica Neue,Helvetica,sans-serif; display: grid; grid-template-areas: "header header header" "nav section aside" "footer footer footer"; grid-template-rows: 80px 1fr 50px; grid-template-columns: 15% 1fr 18%; grid-gap: 5px; height: 100vh; margin: 10px; } header { background: #707070; grid-area: header; } nav { background: #C9BFBF; grid-area: nav; } section { background: #ABABAB; grid-area: section; } aside { background: #C9C9C9; grid-area: aside; } footer { background: #707070; grid-area: footer; } header, nav, section, aside, footer { padding: 5px; }
30
CSS Grid Layout
By:
rald_dev
Happy birthday
Wilbertgwapo
.body{ display: flex; justify-content: center; height: 100vh; background: #240229; } .loader{ margin-top:8%; position: relative; width: 70%; height: 70%; border-radius: 5% ; background: linear-gradient(#14ffe9,#ffeb3b,#ff00e0); animation: animate 0.5s linear infinite; } .loader span{ position: absolute; width: 100%; height: 100%; border-radius: 5% ; background: linear-gradient(#14ffe9,#ffeb3b,#ff00e0); animation: animate 0.5s linear infinite; } .loader span:nth-child(1){ filter: blur(5px); } .loader span:nth-child(2){ filter: blur(10px); } .loader span:nth-child(3){ filter: blur(25px); } .loader span:nth-child(4){ filter: blur(50px); } .loader:after{ content: ''; position: absolute; top: 10px; left: 10px; right: 10px; bottom: 10px; background: #240229; border-radius: 5%; } h1{ position: absolute; margin: 0%; padding: 0%; margin-top: 12%; letter-spacing: 5px; color: rgb(196, 146, 230); font-family: "Comic Sans MS", cursive, sans-serif; } q{ position: absolute; margin: 0%; padding: 0%; margin-top: 20%; color: rgb(196, 146, 230); font-family: "Comic Sans MS", cursive, sans-serif; } .glow { -webkit-animation-duration: 1s; -webkit-animation-name: glow; -webkit-animation-direction: alternate; -webkit-animation-iteration-count: infinite; animation-duration: 1s; animation-name: glow; animation-direction: alternate; animation-iteration-count: infinite; } @-webkit-keyframes glow { from { text-shadow: 0 0 0px rgb(196, 146, 230); } to { text-shadow: 0 0 20px rgb(196, 146, 230); } }
30
Happy birthday banner
By:
rald_dev
header
sidebar
Content-1
Content-2
Content-3
.container { display: grid; width: 750px; height: 600px; grid-template-columns: 200px 1fr 1fr; grid-template-rows: 80px 1fr 1fr 100px; grid-gap: 1rem; grid-template-areas: "header header header" "sidebar content-1 content-1" "sidebar content-2 content-3" "footer footer footer"; } .header { grid-area: header; } .sidebar { grid-area: sidebar; } .content-1 { grid-area: content-1; } .content-2 { grid-area: content-2; } .content-3 { grid-area: content-3; } .footer { grid-area: footer; grid-row: 4 / 5; grid-column: 1 / 4; } /* OTHER STYLES */ body { background-color: #3b404e; display: flex; justify-content: center; padding: 20px; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; } .item { background-color: #1EAAFC; background-image: linear-gradient(130deg, #6C52D9 0%, #1EAAFC 85%, #3EDFD7 100%); box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23); color: #ffffff; border-radius: 4px; border: 6px solid #171717; display: flex; justify-content: center; align-items: center; font-size: 18px; font-weight: bold; } .header { background-color: #1EAAFC; background-image: linear-gradient(160deg, #6C52D9 0%, #9B8AE6 127%); } .sidebar { background-image: linear-gradient(203deg, #3EDFD7 0%, #29A49D 90%) } .content-1, .content-2, .content-3 { background-image: linear-gradient(130deg, #6C52D9 0%, #1EAAFC 85%, #3EDFD7 100%); } .footer { background-color: #6C52D9; background-image: linear-gradient(160deg, #6C52D9 0%, #9B8AE6 127%); }
30
CSS Grid Layout – with color
By:
rald_dev
L
o
a
d
i
n
g
.
.
.
* { padding: 0; margin: 0; box-sizing: border-box; } body { background-color: #111; display: flex; justify-content: center; align-items: center; min-height: 100vh; } .waviy { position: relative; -webkit-box-reflect: below -20px linear-gradient(transparent, rgba(0,0,0,.2)); } .waviy span { position: relative; display: inline-block; font-size: 40px; color: #fff; text-transform: uppercase; animation: waviy 1s infinite; animation-delay: calc(.1s * var(--i)) } @keyframes waviy { 0%,40%,100% { transform: translateY(0) } 20% { transform: translateY(-20px) } }
29
Wavy text 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; } }
29
Typewriter Effect -Single Word 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%; } }
29
Battery Charging
By:
rald_dev
.container { float: left; width: 100%; margin-top: 100px; } .hamburger { width: 60px; height: 60px; margin: 0 auto; display: flex; justify-content: center; align-items: center; position: relative; } .hamburger-init { -webkit-appearance: none; -moz-appearance: none; position: absolute; width: 100%; height: 100%; z-index: 2; cursor: pointer; outline: none; } .menu { position: relative; width: 100%; height: 100%; display: flex; flex-direction: column; justify-content: space-around; align-items: center; } .menu .bar1, .menu .bar2, .menu .bar3 { width: 100%; height: 10px; background: #000; transition: all .3s; } .hamburger-init:checked + .menu .bar1 { transform: translateY(20px) rotate(45deg); } .hamburger-init:checked + .menu .bar2 { opacity: 0; } .hamburger-init:checked + .menu .bar3 { transform: translateY(-20px) rotate(-45deg); }
29
Hamburger Menu
By:
rald_dev
body { background-color: black; } .gallery { border: 3px solid darkblue; max-width: 1014px; margin: auto; background-color: #ccc; } .gallery { padding: 2px; padding: 0.4vw; font-size: 0; flex-flow: row wrap; display: flex; } .gallery div { flex: auto; width: 200px; margin: 0.5vw; } .gallery div img { width: 100%; height: auto; } /*Grayscale*/ img { filter: grayscale(100%); filter: saturate(0); transition: all .3s ease; /* box-shadow: 2px 2px 5px; */ } img:hover { filter: grayscale(0); filter: saturate(1.5); box-shadow: 0px 0px 5px; }
29
Pure CSS using Flexbox CSS Gallery
By:
rald_dev
support CSS
html, body { font-family: 'Open Sans'; width: 100%; height: 100vh; margin: 0; padding: 0; display: flex; justify-content: center; align-items: center; background: #1E1F26; } #button { margin: 4%; padding: 1% 4%; border-radius: 1px; background: blck; color: white; font-size: 16px; border: 1px solid white; cursor: pointer; } .css-button { animation: inout 1s ease infinite; } .gsap-button { border: 1px solid #82c303 !important; } @keyframes inout { 0% { -webkit-box-shadow: 0 0 0 0px rgba(255,255,255,0.4); -moz-box-shadow: 0 0 0 0px rgba(255,255,255,0.4); box-shadow: 0 0 0 0px rgba(255,255,255,0.4); } 100% { -webkit-box-shadow: 0 0 0 20px rgba(255,255,255,0); -moz-box-shadow: 0 0 0 20px rgba(255,255,255,0); box-shadow: 0 0 0 20px rgba(255,255,255,0); } }
29
Button – Shadow Pulse Animation
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; } }
29
Falling leaves
By:
rald_dev
Previous
1
…
3
4
5
6
7
…
16
Next