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

              
                
<!-------------------------------------------------------------------------------->
<section class="visual-height">
    <section class="rotar-i1-welcome-screen">
        <div class="container">
            <div class="row align-items-center">
                <div class="col-12 text-center">
                    <p class="welcome-txt">Say hello to your esports friend!</p>
                </div>
            </div>
        </div>
    </section>
    <div class="container">
        <div class="row align-items-center">
            <div class="col-12 text-center">
                <p class="with">with</p>
            </div>
            <div class="col-12 text-center">
                <p class="rotar-i1-name">Rotar<span>i1</span></p>
            </div>
        </div>
    </div>
    <!-------------------------------------------------------------------------------->

<!-------------------------------------------------------------------------------->
<section class="quote-1 mt-5 mb-5">
    <div class="container">
        <div class="row align-items-center">
            <div class="col-12 text-center">
                <p class="quote-1-txt argb-color">Only for gaming</p>
                <p class="Rotari1-price">Start's from ₹99,999.000</p>
            </div>
        </div>
    </div>
</section>
<!-------------------------------------------------------------------------------->
<section class="beginner">
    <div class="container">
        <div class="row align-items-center">
            <div class="col-12 text-center">
                <p class="beginner-txt" id="text-1">Made for beginner's</p>
            </div>
        </div>
    </div>
</section>
<!-------------------------------------------------------------------------------->
<section class="grad-bg">
    <section class="under-the-hood mb-5">
        <div class="container">
            <div class="row align-items-center">
                <div class="col-12 text-center">
                    <p class="hood-txt">What's under the hood?</p>
                    <mat-divider></mat-divider>
                </div>
            </div>
        </div>
    </section>
    <!-------------------------------------------------------------------------------->
    <section class="processor mt-5 pb-5">
        <div class="container">
            <div class="row align-items-center">
                <div class="col-12">
                    <div class="insideGrid w-100 float-left">
                        <div class="roundox position-relative">
                            <div class="container">
                                <div class="row">
                                    <div class="col-12">
                                        <p class="spec-headline argb-color text-center mt-3">Processor</p>
                                        <p class="details text-center mb-4">This computer is powered by a <span>6-core</span> AMD Ryzen processor, For serious gaming. It's <span>fully unlocked</span> and this processor is specially made for gaming. which perform upto <span>3.6GHz</span>                                            in base clock and <span>4.2GHz</span> in boost clock</p>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </section>
</section>
              
            
!

CSS

              
                
@media (min-width: 734px) {
    .welcome-txt,
    .with,
    .rotar-i1-name {
        font-size: 32px;
        line-height: 1.125;
        font-weight: 600;
        letter-spacing: .004em;
        font-family: "SF Pro Display", "SF Pro Icons", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
    }
    .rotar-i1-name {
        color: #000;
        font-family: "geniland-router-font";
    }
    .rotar-i1-name span {
        margin-left: 6px;
    }
    .quote-1-txt {
        font-size: 40px;
        line-height: 1.1;
        font-weight: 600;
        letter-spacing: 0em;
        font-family: "SF Pro Display", "SF Pro Icons", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
    }
    .Rotari1-price {
        font-size: 28px;
        line-height: 1.1428571429;
        font-weight: 600;
        letter-spacing: .007em;
        font-family: "SF Pro Display", "SF Pro Icons", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
    }
    .beginner-txt {
        font-size: 64px;
        line-height: 1.0625;
        font-weight: 600;
        letter-spacing: -.009em;
        font-family: "SF Pro Display", "SF Pro Icons", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
    }
    .hood-txt {
        font-size: 32px;
        line-height: 1.125;
        font-weight: 600;
        letter-spacing: .004em;
        font-family: "SF Pro Display", "SF Pro Icons", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
    }
    .spec-headline {
        font-size: 32px;
        line-height: 1.125;
        font-weight: 600;
        letter-spacing: .004em;
        font-family: "SF Pro Display", "SF Pro Icons", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
    }
    .details {
        padding-top: 20px;
        color: #86868b;
        font-size: 32px;
        line-height: 1.125;
        font-weight: 600;
        letter-spacing: .004em;
        font-family: "SF Pro Display", "SF Pro Icons", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
    }
    .details span {
        color: #000000b8;
    }
}

              
            
!

JS

              
                import { Component, OnInit, } from '@angular/core';
import { gsap } from 'gsap';
import { ScrollTrigger } from 'gsap/ScrollTrigger';


@Component({
  selector: 'app-highlight-element',
  templateUrl: './highlight-element.component.html',
  styleUrls: ['./highlight-element.component.scss']
})
export class HighlightElementComponent implements OnInit {

  constructor () {}

  ngOnInit():void {
   // GSAP Scroll trigger Animations
   gsap.registerPlugin(ScrollTrigger);
   this.ScrollAnimations();
    //Initial Animaiton's

  }//ngOnit close tag
  ScrollAnimations() {
    gsap.to(".beginner-txt",{
      scrollTrigger:{
        trigger: ".beginner-txt",
        start: "top bottom",
        end:"top top",
        scrub:1,
        markers: true
      },
      y:-150,
      duration:2
    });

    
  }
}

              
            
!
999px

Console