Pen Settings



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


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


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.


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.


                <link href="" rel="stylesheet" integrity="sha384-4bw+/aepP/YC94hEpVNVgiZdgIC5+VKNBQNGCHeKRQN+PtmoHDEXuppvnDJzQIu9" crossorigin="anonymous">

<section id="intro">
  <p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Facilis cupiditate assumenda temporibus esse nobis eius? Quae odio voluptate, hic ex dolorum tempore nesciunt aliquid ducimus, nam suscipit maiores vero vel?</p>
<section class="wrapper">
<div id="text-1">What makes our</div>
<div id="text-2">eCommerce superior?</div>
<script src="" integrity="sha384-HwwvtgBNo3bZJJLYd8oVXjrBZt8cqVSpeBNS5n7C8IVInixGAoxmnlMuBnhbgrkm" crossorigin="anonymous"></script>
<script src=""></script>
<script src=""></script>


                h1 {
	font-family: roboto;
	font-weight: 800 !important;
  font-size: 8vw !important;
#intro {
  height: 30vh;
  padding: 2rem;
#intro p {
  font-size: 1.5rem;
.wrapper {
  padding: 2rem;
  overflow-x: hidden;
  width: 100vw;
  height: 100vh;
#text-2 {
  padding-left: 5rem;


                // gsap.set(["#text-1", "#text-2"], {xPercent: -100})
let tl = gsap.timeline()
tl.from(["#text-1"],{xPercent: -100, y: 500} )
.from(["#text-2"],{xPercent: 100, y: 500}, 0 )

    trigger: ".wrapper",
    start: "top 30%",
    end: "90% 30%",
    scrub: 1,
    pin: true,
   markers: true,