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.

            
              <h1>VERTICAL TIMELINE</h1>
<div id="timeline">
  <div></div>
  <section>
    <div>
      <img src="http://placehold.it/50x50"/>
    </div>
    <div>
      <h2>Lets Talk</h2>
      <h3>We'll have a chat in person, over the phone or email so that I can find out your goals and what you want from the website.</h3>
    </div>
  </section>
  
  <section>
    <div>
      <img src="http://placehold.it/50x50"/>
    </div>
    <div>
      <h2>Agreement</h2>
      <h3>I'll create a project charter which states what I'm going to deliver. I'll then take a down-payment of 50%, with the remaining 50% to be paid once the project is complete.</h3>
    </div>
  </section>
  
  <section>
    <div>
      <img src="http://placehold.it/50x50"/>
    </div>
    <div>
      <h2>Research</h2>
      <h3>I need to know more about your business, so I'll ask plenty of questions. I'll research your sector and take a good look at your competitors; allowing me to ultimately make your website more successful than theirs.</h3>
    </div>
  </section>
    <section>
    <div>
      <img src="http://placehold.it/50x50"/>
    </div>
    <div>
      <h2>Prototyping</h2>
      <h3>I'll create a draft of your website including the content and design. This is an iterative process where I'll work with you to make improvements and make sure you're happy with it.</h3>
    </div>
  </section>
</div>
            
          
!
            
              h1 {
  text-align: center;
  color: #eee;
  font-family: sans-serif;
  font-size: 80px;
}

body {
  background-color: #000;
}

#timeline {
  position: relative;
  margin: 0 auto;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 900px;
}

#timeline > div {
  width: 13px;
  height: 100%;
  position: absolute;
  color: #111115;
  background-color: #111115;
  z-index: -1;
  left: 37px;
}

#timeline section {
  display: flex;
  box-sizing: border-box;
  width: 100%;
  margin: 25px 0;
}

#timeline section div {
  box-sizing: border-box;
  display: flex;
	flex-direction: column;
  background-color: #111115;
}

#timeline section div img {
  margin: auto;
  height: 50px;
  width: 50px;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

#timeline section div:first-child {
  width: 90px;
  margin-right: 10px;
}

#timeline section div:last-child {
  width: 100%;
  padding: 40px 25px;
}

#timeline section h2,
#timeline section h3 {
  margin: 0;
  color: #eee;
  font-family: sans-serif;
  line-height: 1.3;
}

#timeline section h3 {
 margin-top: 15px;
 font-size: 18px;
}
            
          
!
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