Animated Background Image Loop Animation

Coding BD given here Animated Background Image Loop Animation. We create css animation effects. It is the most important part Of Pure css background animation. We have given more importance to vanilla Javascript. We have used a css background animation loop because they need high effects. Thank you so much.

Create a Payoneer Account & Earn 25$:→  https://www.payoneer.com/raf/?rid=75EACA0E-2937-4D6B-A225-4255EB9B758A 

Create a Fiverr Account & Earn 100$:→ http://www.fiverr.com/s2/83f49a18f7 

😍😍 If You like this video Please like, share and subscribe This video.😍😍 

😍😍 Check Others Programming Video👇

➡️How To Create Login Form In HTML and CSS: https://www.youtube.com/watch?v=51t-kR8MUvY 

➡️ contact page design with map using html css: https://www.youtube.com/watch?v=RC2-bq4fBYI 

➡️  Pure sliding tabs using html and css: https://www.youtube.com/watch?v=QonCizKyHrs

➡️ Animated Background Image Loop Animation: https://www.youtube.com/watch?v=7HyTFr5kNSU&t=284s 

➡️  water wave background animation effects: https://www.youtube.com/watch?v=dnCfBet94r8&t=49s 

➡️ How to Download Source code in Coding BD: https://www.youtube.com/watch?v=WXAZ-BScKBE&t=3s  

➡️ Responsive website html css javascript | part( 1 ): https://www.youtube.com/watch?v=g0ART2Jc3yw&t=3s 

➡️ Responsive Services Section:  https://www.youtube.com/watch?v=wvLkyrkoS_w&t=69s 

➡️ Plane animation only html css: https://www.youtube.com/watch?v=XcYlfp8sFX0 

➡️ CSS Responsive CARD Hover Effects & Adding Stroke to Text | Html5 CSS3 2021: https://www.youtube.com/watch?v=QVMJ5PdX7Ag&t=14s 

➡️  Neon Light Button Animation Effects on Hover | CSS Snake Border: https://www.youtube.com/watch?v=GtVSF-efdJQ&t=102s 

➡️ Responsive Box Model Web Design Using CSS Flexbox: https://www.youtube.com/watch?v=03RuVB6B5KQ&t=0s 

➡️ Digital Clock with Animated Progress-bar | HTML CSS & Vanilla Javascript:  https://www.youtube.com/watch?v=6A6HpxMmfX4&t=0s 

➡️ How to create a light to dark mode for HTML CSS & Vanilla Javascript 2021: https://www.youtube.com/watch?v=43FbR6ailIk&t=28s   

➡️Scroll top button : https://www.youtube.com/watch?v=9fDEJkXQIIs&t=77s 

Source code here: ( Animated Background Image Loop Animation)

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Animation</title>
    <link rel="stylesheet" href="style.css">
</head>
<body>
    <section>
        <h2>Coding bd</h2>
        <div class="banner">
            <div class="blocks"></div>
        </div>
    </section>
    <script>
        const banner = document.getElementsByClassName('banner')[0];
        const blocks = document.getElementsByClassName('blocks');

        for (var i = 1; i < 400; i++){
            banner.innerHTML += "<div class='blocks'></div>";
            blocks[i].style.animationDelay = `${i * 0.05}s` 
        }
    </script>
</body>
</html>
* {
    margin: 0;
    padding: 0;
    font-family: sans-serif;
}

section {
    position: relative;
    width: 100%;
    height: 100vh;
    background: #333333;
}

section h2 {
    position: relative;
    width: 100%;
    height: 100vh;
    text-align: center;
    line-height: 100vh;
    font-size: 10vw;
    color: #ffffff;
}

.banner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
}

.blocks {
    position: relative;
    display: block;
    width: 96px;
    height: 96px;
    animation: animated 0.75s ease-in-out forwards;
    
}
.blocks:nth-child(even) {
    animation: animated 1s ease-in-out forwards;
    
}

@keyframes animated {
    0% {
        opacity: 0;
        transform: scale(0) translateY(1000px);
    }
    50% {
        opacity: 1;
        background: url('./car.jpg');
        background-position: center;
        background-attachment: fixed;
        background-repeat:no-repeat;
        background-size:cover;
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0px);
        background: url('./car.jpg');
        background-position: center;
        background-attachment: fixed;
        background-repeat:no-repeat;
        background-size:cover;
}
}

Don’t Forget to Follow me on all Social Network,

Facebook Page: https://www.facebook.com/codingbd816 

LinkedIn: https://www.linkedin.com/in/sajjat8383/ 

Instagram: https://www.instagram.com/codingbd/ 
GitHub: https://github.com/cgsaleh8383

You can see How to create a light to dark mode for HTML CSS & Vanilla Javascript

Leave a Reply

Your email address will not be published. Required fields are marked *