Creative 3D Animation with Source Code using HTML and CSS | CSS Animation Project

preview_player
Показать описание
Creative 3D Animation with Source Code using HTML and CSS | CSS Animation Project

Background music:-

Track: Warriyo - Mortals (feat. Laura Brehm) [NCS Release]
Music provided by NoCopyrightSounds.
Рекомендации по теме
Комментарии
Автор

This is that code guys

<!DOCTYPE html>
<html lang="en">
<head>
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}

body {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
background: #000;
overflow: hidden;
}

.container {
position: absolute;
top: 20%;
height: 90%;
display: flex;
justify-content: center;
align-items: center;
}

.circle {
position: absolute;
background: transparent;
width: calc(var(--i) * 2.5vmin);
aspect-ratio: 1;
border-radius: 50%;
border: 3px solid rgb(0, 255, 13);
transform-style: preserve-3d;
transform: rotateX(70deg) translateZ(50px);
animation: animate 3s ease-in-out calc(var(--i) * 0.08s) infinite;
box-shadow: 0 0 15px rgb(124, 124, 124),
inset 0 0 15px rgb(124, 124, 124);
}

@keyframes animate {
0%, 100% {
transform: rotateX(70deg) translateZ(50px) translateY(0);
filter: hue-rotate(0);
}

50% {
transform: rotateX(70deg) translateZ(50px) translateY(-50vmin);
filter: hue-rotate(360deg);
}
}
</style>
</head>
<body>
<div class="container">
<div class="circle" style="--i:0;"></div>
<div class="circle" style="--i:1;"></div>
<div class="circle" style="--i:2;"></div>
<div class="circle" style="--i:3;"></div>
<div class="circle" style="--i:4;"></div>
<div class="circle" style="--i:5;"></div>
<div class="circle" style="--i:6;"></div>
<div class="circle" style="--i:7;"></div>
<div class="circle" style="--i:8;"></div>
<div class="circle" style="--i:9;"></div>
<div class="circle" style="--i:10;"></div>
<div class="circle" style="--i:11;"></div>
<div class="circle" style="--i:12;"></div>
<div class="circle" style="--i:13;"></div>
<div class="circle" style="--i:14;"></div>
<div class="circle" style="--i:15;"></div>
<div class="circle" style="--i:16;"></div>
<div class="circle" style="--i:17;"></div>
<div class="circle" style="--i:18;"></div>
<div class="circle" style="--i:19;"></div>
<div class="circle" style="--i:20;"></div>
</div>
</body>
</html>

Rishaply
Автор

* {
margin: 0;
padding: 0;
box-sizing: border-box;
}

body {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
background: #000;
overflow: hidden;
}
.contaiher {
position: absolute;
top: 20%;
height: 90%;
display: flex;
justify-content: center;
align-items: center;
}

.circle {
position: absolute;
background: transparent;
width: calc(--i) * 2.5vmin;
aspect-ratio: 1;
border-radius: 50%;
border: 3px solid rgb(0, 255, 13);
transform-style: preserve-3d;
transform: rotateX(70deg) translateZ(50px);
animation: alternate 3s ease-in-out calc(var(--i) * 0.08s) infinite;
box-shadow: 0 0 15px rgb (124, 124, 124), inset 0 0 15px rgb(124, 124, 124);
}

@keyframes animaten {
0%,
100%{
transform: rotateX(70deg) translateZ(50px) translateY(0);
filter: hue-rotate(0);
}
50% {
transform: rotateX(70deg) translateZ(50px) translateY(-50veim);
filter: hue-rotate(360deg);
}
}

karo_
Автор

Que brujeria es Quemeeeenloooo!!!!
Es espectacular

MrJosemania
Автор

what's the name of the app used for recording like this video ?

hatimfangour
Автор

Hey bro love it can you post the tutorial also

EnochBabatunde
Автор

it work but it doesn't have a color

malekelsobky
Автор

Bro I didn't understand what is use of this *

DDRRSS.
Автор

Did not work i spend so much time on it but now it's not working i hope i did not do it from the first time

MohammadAlmsallam-pjs
Автор

Kakk biar mantul kena dinding dan berpindah tempat gimna yaa

miminmaryani-zf