Pen Settings

↑ Insert the most common viewport meta tag

CSS Base

Vendor Prefixing

Add External CSS

These stylesheets will be added in this order and before the code you write in the CSS editor. You can also add another Pen here, and it will pull the CSS from it. Try typing "font" or "ribbon" below.

Quick-add: + add another resource
via CSS Lint

Add External JavaScript

These scripts will run in this order and before the code in the JavaScript editor. You can also link to another Pen here, and it will run the JavaScript from it. Also try typing the name of any popular library.

Quick-add: + add another resource
via JS Hint

Code Indentation


Save Automatically?

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

Want a Run Button?

If active, the preview will update automatically when you change code.


              <div class="panel">
    <img id="bg" src="" width="760" height="225">
    <img id="logo" src="" width="250" height="216">
    <div id="address">580 Lipsenard St. New York NY 10012</div>
<div id="content">
<h1>The Jive Factory</h1>
<p>The Jive Factory is a restaurant and venue in Lower Manhattan, dedicated to the best food and music the city has to offer. Stop in for dinner, stick around for a drink, and see the greatest up-and-coming acts in a small and friendly performance space.</p>

<p>We have a dining room and a full bar on the ground floor, and a large concert space downstairs with a stage, open standing room, and a second bar in the back.</p>



              body {
    background: #000 url( repeat-x;
    color: #eee;

.panel {
    position: relative;
    width: 760px;
    height: 224px;
    background: #000;
    margin: 20px auto 0;
    overflow: hidden;

#bg {
    position: absolute;

#logo {
    position: absolute;
    left: 20px;
    top: 5px;

#address {
    position: absolute;
    left: 483px;
    top: 184px;
    color: #fcb802;
    width: 300px;

#content {
    position: relative;
    width: 720px;
    padding: 20px;
    background: #222;
    margin: 0 auto;
    overflow: hidden;

h1 {
    margin: 0;

p {
    color: #ccc;



              CSSPlugin.defaultTransformPerspective = 800;

var tl = new TimelineLite();

tl.from("#bg", 0.5, {opacity:0})
  .from("#logo", 0.5, {left:-250, rotation:-90, scale:0, ease:Back.easeOut})
  .from("#address", 0.5, {left:"+=100", opacity:0, ease:Back.easeOut})
  .from("#content", 0.5, {opacity:0, rotationX:-90, transformOrigin:"50% 50% -200"});

Loading ..................