HTML CSS & JAVASCRIPT, YouTube

Animated Background Image Loop Animation

CSS & Javascript Background Animation Effects 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 Animated Background Image Loop Animation because they need high effects. You can use this section in your any website any section. if you don’t subscribe our youtube channel please subscribe our channel. Thank you so much.

➡️ How to create responsive wall Photo Frame:https://www.youtube.com/watch?v=aT6QLrfO_oU   

➡️ CSS 3d Layered Image Hover Effects CSS: https://www.youtube.com/watch?v=0qdWV7-Oi6k&t=66s 

➡️Responsive website html css javascript | part( 1 ): https://www.youtube.com/watch?v=g0ART… 

➡️ Responsive Services Section: https://www.youtube.com/watch?v=wvLky…

➡️ CSS Clip Path Hover Circle Hover Effects: https://www.youtube.com/watch?v=cRSgo…

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

➡️  Neon Light Button Animation Effects on Hover | CSS Snake Border: https://www.youtube.com/watch?v=GtVSF… 

➡️ Responsive Box Model Web Design Using CSS Flexbox: https://www.youtube.com/watch?v=03RuV… 

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

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

➡️Scroll top button : https://www.youtube.com/watch?v=9fDEJ… 
➡️ Animated eid mubarak 2021 using Html CSS & Javascript: https://www.youtube.com/watch?v=60H2g…

Here is all Source code. You can follow this steps:

  1. Create 1 folder
  2. create 1 HTML file: index.html
  3. create 1 CSS file: style.css
  4. copy HTML code and pest HTML file, copy CSS code and past CSS file
  5. Now give a smile and jump out loud. 😍😍
<!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 (let 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 {
    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;
}

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

@keyframes animated {
    0% {
        opacity: 0;
        transform: scale(0) translateY(1000px);
        -webkit-transform: scale(0) translateY(1000px);
        -moz-transform: scale(0) translateY(1000px);
        -ms-transform: scale(0) translateY(1000px);
        -o-transform: scale(0) translateY(1000px);
    }
    50% {
        opacity: 1;
        background: url('./bg.jpg');
        background-position: center;
        background-attachment: fixed;
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
        background: url('./bg.jpg');
        background-position: center;
        background-attachment: fixed;
        -webkit-transform: scale(1) translateY(0);
        -moz-transform: scale(1) translateY(0);
        -ms-transform: scale(1) translateY(0);
        -o-transform: scale(1) translateY(0);
}
}

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

YouTube: https://www.youtube.com/channel/UCw9etYfx-25oKB_qt1fFNWw

Facebook Page: Coding BD – https://www.facebook.com/codingbd2021

LinkedIn: https://www.linkedin.com/in/sajjat-hossain-0617961b1

GitHub: https://github.com/cgsaleh8383

#codingbd #imageLoop #htmlcss

Related Posts

Leave a Reply

Your email address will not be published.