css Audio - Active file-generic CSS - Active Generic - Active HTML - Active JS - Active SVG - Active Text - Active file-generic Video - Active header Love html icon-new-collection icon-person icon-team numbered-list123 pop-out spinner split-screen star tv

Pen Settings

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

+ add another resource

You're using npm packages, so we've auto-selected Babel for you here, which we require to process imports and make it all work. If you need to use a different JavaScript preprocessor, remove the packages in the npm tab.

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

Use npm Packages

We can make npm packages available for you to use in your JavaScript. We use webpack to prepare them and make them available to import. We'll also process your JavaScript with Babel.

⚠️ This feature can only be used by logged in users.

Code Indentation

     

Save Automatically?

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.

HTML Settings

Here you can Sed posuere consectetur est at lobortis. Donec ullamcorper nulla non metus auctor fringilla. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.

            
              <body>
    <div id="wrapper">
        <div id="content">
            <!-- Full Ad Link -->
            <a href="http://compressmerch.com/collections/troika" target="_blank">

            <!-- Sequence One -->

            <div id="background">
                <img src="http://jacobnorwood.com/_/projects/lindigital/images/troika_redbackground.jpg" alt="background">

            </div>
            <div id="logo">
                <img src="http://jacobnorwood.com/_/projects/lindigital/images/troika_logo-min.png" alt="logo">
            </div>
            <div id="bowl">
                <img src="http://jacobnorwood.com/_/projects/lindigital/images/troika_skate_bowl-min.png" alt="skate bowl">
            </div>
            <div id="skateboarder">
                <img src="http://jacobnorwood.com/_/projects/lindigital/images/troika_skater-min.png" alt="skater">
            </div>

            <div id="text_pa">
                Pittsburgh, PA
            </div>
            
             <div id="logosmall">
                <img src="http://jacobnorwood.com/_/projects/lindigital/images/troika_logo_small.png" alt="logo">
            </div>


            <!-- Sequence Two -->

          <div id="tagline">
            
            
                <h1 class="tag">Good Friends</h1>
            
       
                <h1 class="tag">Making Stuff</h1>
            
           
                <h1 class="tag">Getting Shit Done!</h1>
            
                
         </div>

            <!-- Sequence Three -->

            <div id="skateboard1" class="skateboard">
                <img src="http://jacobnorwood.com/_/projects/lindigital/images/nun_board_solo-min.png" alt="Skateboard">
            </div>

            <div id="skateboard2" class="skateboard">
                <img src="http://jacobnorwood.com/_/projects/lindigital/images/budai_board-min.png" alt="Skateboard">
            </div>

            <div id="skateboard3" class="skateboard">
                <img src="http://jacobnorwood.com/_/projects/lindigital/images/pirate_bandana_board-min.png" alt="Skateboard">
            </div>

            <div id="benie">
                <img src="http://jacobnorwood.com/_/projects/lindigital/images/troika_snow_cap-min.png" alt="Skateboard">
            </div>

            <div id="shred_text" class="text">
                <h3>Shed Big</h3>
                <h3>Buy Small</h3>
            </div>

            <div id="cta" class="text">
                <h4><a href="http://compressmerch.com/collections/troika" target="_blank">Click for Stuff!</a></h4>
                <img src="http://jacobnorwood.com/_/projects/lindigital/images/cta_line.png" alt="line">
            </div>

</a>
        </div>
        <!--content-->
    </div>
    <!--wrapper-->


    <!--CDN links for the latest TweenLite, CSSPlugin, and EasePack-->
    <script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/latest/plugins/CSSPlugin.min.js"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/latest/easing/EasePack.min.js"></script>
    <script src='https://cdnjs.cloudflare.com/ajax/libs/gsap/latest/TweenMax.min.js'></script>
    <script src="js/gsap.js">
    </script>

</body>
            
          
!
            
              /*Jacob Norwood LIN Digital Example CSS v0.2*/

body, h1, h2, h3, h4, h5, h6, img {
    margin: 0;
    padding: 0;
}

body {
    background-color: #000;
}

a { 
    text-decoration: none;
    color: #fff;
}

@font-face {
    font-family: 'lunchboxBold';
    src: url("http://jacobnorwood.com/_/projects/lindigital/lunchbox/LunchBoxBold.ttf");
}

#wrapper {

}

#content {
    position: relative;
    width: 300px;
    height: 250px;
    margin: 0 auto;
    margin-top: 0px;
    
}

#background {
      position: absolute;
      left: 0;
        top:0;
        width: 300px;
    height: 250px;
}


#logo {
  position: absolute;
  left: 14px;
  top: 34px;
  width: 273px;
  height: 73px;
}



#bowl {
  position: absolute;
  left: 0px;
  top: 176px;
  width: 300px;
  height: 74px;
}



#skateboarder {
  position: absolute;
  left: 103px;
  top: 32px;
  width: 170px;
  height: 163px;
}

#text_pa {
  font-size: 21px;
  font-family: "Frutiger LT Std";
  color: rgb(255, 255, 255);
  font-weight: bold;
  position: absolute;
  left: 140px;
  top: 220px;
}

#logosmall {
  position: absolute;
  left: 19px;
  top: 214px;
  width: 107px;
  height: 29px;
}


#tagline {
    position: relative;
    text-align: center;
    padding-top: 10px;
}

h1 {
    font-size: 48px;
   font-family: "lunchboxBold", serif;
  color: #fff;
    margin-top: 10px;
    text-align: center;
    /* font-weight: bold;*/
}


#skateboard1 {
  position: absolute;
  left: 20px;
  top: 3px;
  width: 70px;
  height: 205px;
       -ms-transform: rotate(-7deg); /* IE 9 */
    -webkit-transform: rotate(-7deg); /* Chrome, Safari, Opera */
    transform: rotate(-7deg);
}


#skateboard2 {
  position: absolute;
  left: 84px;
  top: 11px;
  width: 78px;
  height: 205px;
-ms-transform: rotate(7deg); /* IE 9 */
    -webkit-transform: rotate(7deg); /* Chrome, Safari, Opera */
    transform: rotate(7deg);
}


#skateboard3 {
  position: absolute;
  left: 50px;
  top: 8px;
  width: 51px;
  height: 205px;

}


#benie {
  position: absolute;
  left: 165px;
  top: 13px;
  width: 121px;
  height: 100px;
}

#shred_text {
  font-size: 25px;
   font-family: "lunchboxBold", serif;
  color: rgb(255, 255, 255);
  line-height: 0.858;
  text-align: center;
  position: absolute;
  left: 165px;
  top: 115px;
    -ms-transform: rotate(-3deg); /* IE 9 */
    -webkit-transform: rotate(-3deg); /* Chrome, Safari, Opera */
    transform: rotate(-3deg);
}


#cta {
  font-size: 31px;
   font-family: "lunchboxBold", serif;
  color: rgb(255, 255, 255);
  font-weight: bold;
  position: absolute;
  left: 135px;
  top: 173px;
    -ms-transform: rotate(-3deg); /* IE 9 */
    -webkit-transform: rotate(-3deg); /* Chrome, Safari, Opera */
    transform: rotate(-3deg);
}

#cta img {
    position: absolute;
      left: 5px;
  top: 30px;
}
            
          
!
            
              /*Jacob Norwood LIN Digital Example JS v0.2*/

//create a TimelineLite instance
var tl = new TimelineLite();

//Setting timeline object to invisible

/*Sequence One*/

/*Sequence One Animate In*/ /*autoAlpha handles opacity and visibility*/
tl.from(background, .3, {autoAlpha:0, scale:.99});
tl.from(logo, .3, {autoAlpha:0, scale:1.3, ease:Power4.easeOut}, "+=0.3");
tl.from(bowl, .6, {autoAlpha:0, ease:Expo.easeOut}, "+=1");
tl.from(skateboarder, .9, {autoAlpha:0, x:40, y:-7, ease:Expo.easeOut}, "+=.01");
tl.from(text_pa, .3, {autoAlpha:0, ease:Expo.easeOut}, "+=.5");

/*Sequence One Animate Out*/

tl.to(logo, .3, {autoAlpha:0, scale:.8, ease:Power4.easein}, "+=3");
//group objects in array to animate simultaneously. 
tl.to([skateboarder, bowl], .9, {opacity:.1, ease:Expo.easeOut}, "+=0.2");


/*Sequence Two Animate In*/

tl.from(logosmall, .5, {autoAlpha:0, ease:Power4.easeOut}, "+=0.1");

tl.staggerFrom(".tag", .2, {autoAlpha:0,  scale:2.3, y:-20, ease:Power4.easeOut}, 0.4);

/*Sequence Two Animate Out*/
tl.staggerTo(".tag", .2, {autoAlpha:0,  scale:.9, y:5, ease:Power4.easeIn}, 0.2, "+=3" );


/*Sequence Three Animate In*/

tl.from(skateboard1, .3, {autoAlpha:0, y:10, ease:Power4.easeOut}, "+=0.1");
tl.from(skateboard2, .3, {autoAlpha:0, y:10, ease:Power4.easeOut}, "+=0.1");
tl.from(skateboard3, .3, {autoAlpha:0, y:10, ease:Power4.easeOut}, "+=0.1");
tl.from(benie, .5, {autoAlpha:0, scale:.9, ease:Power4.easeOut}, "+=0.1");
tl.from(shred_text, .3, {autoAlpha:0,  scale:.9, ease:Expo.easeOut}, "+=.5");
tl.from(cta, .3, {autoAlpha:0,  scale:1.9, ease:Expo.easeOut}, "+=.5");


//skip to "labeled" or 8 (second on timeline) to test animation
/*tl.seek(10);*/
            
          
!
999px
🕑 One or more of the npm packages you are using needs to be built. You're the first person to ever need it! We're building it right now and your preview will start updating again when it's ready.
Loading ..................

Console