Animated Background with pure CSS and Html

Please subscribe our channel and support me.
Please like and 1 comment this video.

If you are visiting my channel for the first time then please subscribe
Go to my Youtube channel : https://www.youtube.com

Html Code
<div class="container"> <ul class="group"> <li class="list">Home</li> <li class="list active">About</li> <li class="list">Services</li> <li class="list">Products</li> <li class="list">For Terms</li> <li class="list">Contact</li> </ul> <div class="center"> <h2 class="title">Lorem ipsum dolor sit amet.</h2> <p class="lorem">Lorem ipsum dolor sit amet consectetur, adipisicing elit. Omnis iure itaque debitis ipsum sunt.</p> </div> </div> <div class="background"> <group class="shape-group"> <shape></shape> <shape></shape> <shape></shape> <shape></shape> <shape></shape> <shape></shape> <shape></shape> <shape></shape> <shape></shape> <shape></shape> </group> </div>
Css Code
body { margin: 0; padding: 0; font-family: roboto; } .group { display: flex; flex-direction: row; list-style: none; width: max-content; margin: 0 auto; margin-top: 10px; } .group li { padding: 5px 14px; color: #fff; border-radius: 2px; } .group li.active { background: #fff; color: #00476c; } .center { width: 400px; margin: 0 auto; margin-top: 35vh; text-align: center; color: #fff; line-height: 1.6; } .center .title { font-size: 28px; } .context { width: 100%; position: absolute; top: 0; } .background { position: absolute; top: 0; z-index: -1; background: linear-gradient(180deg, #004e5a, #000dff); width: 100%; height: 100vh; } .shape-group { position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; } .shape-group shape { position: absolute; display: block; list-style: none; width: 20px; height: 20px; background: #ffffff33; animation: animate 25s linear infinite; bottom: -150px; } @keyframes animate { 0% { transform: translateY(0) rotate(0deg); opacity: 1; border-radius: 0; } 100% { transform: translateY(-1000px) rotate(720deg); opacity: 0; border-radius: 25px; } } .shape-group shape:nth-child(1) {left: 25%; width: 80px; height: 80px; animation-delay: 0s;} .shape-group shape:nth-child(2) {left: 65%; width: 20px; height: 20px; animation-delay: 0s;} .shape-group shape:nth-child(3) {left: 70%; width: 20px; height: 20px; animation-delay: 4s;} .shape-group shape:nth-child(4) {left: 75%; width: 110px; height: 110px; animation-delay: 3s;} .shape-group shape:nth-child(5) {left: 35%; width: 150px; height: 150px; animation-delay: 7s;} .shape-group shape:nth-child(6) {left: 10%; width: 20px; height: 20px; animation-delay: 2s; animation-duration: 12s;} .shape-group shape:nth-child(7) {left: 40%; width: 60px; height: 60px; animation-delay: 0s; animation-duration: 18s;} .shape-group shape:nth-child(8) {left: 50%; width: 25px; height: 25px; animation-delay: 15s; animation-duration: 45s;} .shape-group shape:nth-child(9) {left: 20%; width: 15px; height: 15px; animation-delay: 2s; animation-duration: 35s;} .shape-group shape:nth-child(10) {left: 85%; width: 150px; height: 150px; animation-delay: 0s; animation-duration: 11s;}

@ Recommendations Videos

blogger theme design : https://youtu.be/DAIJTjRzxLk

Login Form : https://youtu.be/HWbAr1XN3Lc

Forms design : https://youtu.be/M2ERkDXjEuw

Responsive CSS card : https://youtu.be/Ol9_5cYtAaw

Navigation design : https://youtu.be/LNEgZBdWPGM

Disclaimer video is for educational purpose only. Copyright Disclaimer Under Section 107 of the Copyright Act 1976, allowance is made for "fair use" for purposes such as criticism, comment, news reporting, teaching, scholarship, and research. Fair use is a use permitted by copyright statute that might otherwise be infringing. Non-profit, educational or personal use tips the balance in favor of fair use .

Thanks..