Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URLs added here will be added as <link>s in order, and before the CSS in the editor. You can use the CSS from another Pen by using its URL and the proper URL extension.

+ add another resource

JavaScript

Babel includes JSX processing.

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

+ add another resource

Packages

Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.

Behavior

Auto Save

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

HTML

              
                
        <div class="forth-section">
            <div class="snow-ball-main-sec">
                <p class="comment-title">Our intent is to create a cultural snow ball effect</p>
                <div class="images-wrapper">
                    <div class="images-sec-inner hel">
                        <div class="snow-ball-one content-one">
                            <img src="https://grzdemo.grazitti.com/axialent/wp-content/uploads/2022/01/snowball-ai-one.png" />
                        </div>
                        <div class="snow-ball-two content-two">
                            <img src="https://grzdemo.grazitti.com/axialent/wp-content/uploads/2022/01/snowball-ai-two.png" />
                        </div>
                        <div class="snow-ball-three content-three">
                            <img src="https://grzdemo.grazitti.com/axialent/wp-content/uploads/2022/01/snowball-ai-three.png" />
                        </div>
                        <div class="snow-ball-four content-four">
                            <img src="https://grzdemo.grazitti.com/axialent/wp-content/uploads/2022/01/snowball-ai-four.png" />
                        </div>
                        <div class="snow-ball-five content-five">
                            <img src="https://grzdemo.grazitti.com/axialent/wp-content/uploads/2022/01/snowball-ai-five.png" />
                        </div>
                        <div class="snow-ball-six content-six">
                            <img src="https://grzdemo.grazitti.com/axialent/wp-content/uploads/2022/01/snowball-ai-six.png" />
                        </div>
                        <div class="snow-ball-seven content-seven">
                            <img src="https://grzdemo.grazitti.com/axialent/wp-content/uploads/2022/01/snowball-ai-six.png" />
                        </div>
                    </div>
                    <div class="content-sec-inner hel">
                        <div class="content-one text-snow">
                            <p class="hello">Cultural change starts with <span class="h-snow-txt-b">leaders’ awareness </span>of culture as a strategic asset.</p>
                        </div>
    
                        <div class="content-two text-snow">
                            <p class="hello">Leaders learn the value of <span class="h-snow-txt-b">authentic conversations,</span> making those their communication standard.</p>
                        </div>
    
                        <div class="content-three text-snow">
                            <p>They <span class="h-snow-txt-b">reshape</span> the internal networks of collaboration, addressing personal, interpersonal, and business dimensions.</p>
                        </div>
    
                        <div class="content-four text-snow">
                            <p>Employees <span class="h-snow-txt-b">imitate the new</span> constructive and authentic <span class="h-snow-txt-b">behaviors</span> of leaders.</p>
                        </div>
    
                        <div class="content-five text-snow">
                            <p><span class="h-snow-txt-b">Processes and systems are also reshaped</span> based on the newly adopted mindsets and behaviors.</p>
                        </div>
    
                        <div class="content-six text-snow">
                            <p>Collaboration and processes run more smoothly. People rediscover <span class="h-snow-txt-b">joy in their work</span> give the organization their best efforts. </p>
                        </div>
    
                        <div class="content-seven text-snow">
                            <p><span class="h-snow-txt-b">Business performance leaps.</span></p>
                        </div>
                    </div>
                </div>
            </div>
    </div><div class="snow-extrdiv"></div>

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.9.1/gsap.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.9.1/ScrollTrigger.min.js"></script>
              
            
!

CSS

              
                * {
        margin: 0;
        padding: 0;
    }
    
    .forth-section {
        height: 100vh;
        display: flex;
        align-items: center;
        flex-direction: column;
        text-align: center;
        position: relative;
        background-image: url(https://grzdemo.grazitti.com/axialent/wp-content/uploads/2022/02/snowball-bg.png);
        background-repeat: no-repeat;
        background-position: top center;
        background-size: cover;
    }
    
    .forth-section .images-wrapper .images-sec-inner>div {
        position: absolute;
    }
    
    .snow-ball-one {
        top: 185px;
        left: 216px;
    }
    
    .snow-ball-two {
        top: 30%;
        left: 24.3%;
    }
    
    .snow-ball-three {
        top: 30.7%;
        left: 33%;
    }
    
    .snow-ball-four {
        top: 35%;
        left: 40%;
    }
    
    .snow-ball-five {
        top: 35.2%;
        left: 53%;
    }
    
    .snow-ball-six {
        top: 35.3%;
        left: 66%;
    }
    
    .snow-ball-seven {
        top: 40.2%;
        left: 78%;
    }
    
    .forth-section .images-wrapper .content-sec-inner {
        width: 100%;
        position: absolute;
        left: 40px;
        text-align: left;
        top: 423px;
    }
    
    .text-snow {
        position: absolute;
        width: 50%;
    }
    
    span.h-snow-txt-b {
        font-weight: bold;
    }
    
    .images-wrapper p {
        font-size: 30px;
        letter-spacing: -1px;
        line-height: 50px;
        color: #1f325b;
        font-family: "Proxima Nova";
    }
    
    .comment-title {
        font-size: 30px;
        line-height: 40px;
        color: #f2f5f8;
        font-family: "Proxima Nova";
        text-align: center;
        margin-top: 40px;
    }
              
            
!

JS

              
                   console.clear();

document.addEventListener('DOMContentLoaded', () => {
gsap.set(".content-two, .content-three, .content-four, .content-five, .content-six, .content-seven", {
    autoAlpha: 0,
    y: 0
})
const tl = gsap.timeline()

.to(".content-one", {
         x: 0, 
        autoAlpha: 1,
         y: 0,
    }, ">")
    .to(".content-one", {
        autoAlpha: 1,
        y: 0,
      ease:Linear.easeNone,
      
    })
  .to(".content-one", {
        autoAlpha: 1,
        y: 0,
    }, ">")
    .to(".content-one", {
        autoAlpha: 0,
    }, ">")
    .to(".content-two", {
        autoAlpha: 1,
        y: 0
    })
.to(".content-two", {
        autoAlpha: 1,
    }, ">")
    .to(".content-two", {
        autoAlpha: 0,
    }, ">")
    .to(".content-three", {
        autoAlpha: 1,
        y: 0
    })
.to(".content-three", {
        autoAlpha: 1,
    }, ">")
    .to(".content-three", {
        autoAlpha: 0,
    }, ">")
    .to(".content-four", {
        autoAlpha: 1,
        y: 0
    })
 .to(".content-four", {
        autoAlpha: 1,
    }, ">")
    .to(".content-four", {
        autoAlpha: 0,
    }, ">")
    .to(".content-five", {
        autoAlpha: 1,
        y: 0
    })
.to(".content-five", {
        autoAlpha: 1,
    }, ">")
    .to(".content-five", {
        autoAlpha: 0,
    }, ">")
    .to(".content-six", {
        autoAlpha: 1,
        y: 0
    })
.to(".content-six", {
        autoAlpha: 1,
    }, ">")
    .to(".content-six", {
        autoAlpha: 0,
    }, ">")
    .to(".content-seven", {
        autoAlpha: 1,
        y: 0
    });
  
  ScrollTrigger.create({
        animation: tl,
        trigger: ".forth-section",
        pin: true, 
        start: "top top",
        end: "+=550", 
        scrub: 0.5,
        onUpdate(self) {
          if (self.direction === -1) {
            self.scroll(self.start);
          }
        }
    })
});

              
            
!
999px

Console