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.

            
              <head>
  <meta charset="utf-8">
  <meta name="author" content="pun-isher">
  
</head>
<body>
  <div class="container">
    <header class="page-header">
      <h1>Tribute to G. I. Gurdjieff</h1>
    </header>
    <div class="image-box">
    <img class="main-image" src="http://image3.redbull.com/rbma/0001/1/800/601/461/906/gurdjieff-feature-title.jpg"/>
    </div>
    <ul class="timeline">
      <li><div class="tldate">1912</div></li>
      <li>
        <div class="tl-circ"></div>
        <div class="timeline-panel">
          <div class="tl-heading">
            <h4>Gurdjieff Attracts First Followers</h4>
            <p><small class="text-muted"><i class="fa fa-cog"></i>January 1</small></p>
          </div>
          <div class="tl-body">
            <p>Upon returning to Moscow after a prolonged period of travelling abroard, Gurdjieff attracted his first students.</p>
          </div>
        </div>
      </li>
      <!-- SECOND ITEM -->
      <li><div class="tldate">1919</div></li>
      <li>
      <li class="timeline-inverted">
        <div class="tl-circ"></div>
        <div class="timeline-panel">
          <div class="tl-heading">
            <h4>Moving to Georgia (The Country)</h4>
            <p><small class="text-muted"><i class="fa fa-cog"></i>Unknown</small></p>
          </div>
          <div class="tl-body">
            <p>Gurdjieff and his closest pupils moved to Tifilis, Georgia. For a time, Gurdjieff worked on a ballet titled <em>The Struggle of the Magicians</em>, while he continued to take on more students.</p>
          </div>
        </div>
      </li>
      <li><div class="tldate">1921</div></li>
      <li>
      <li>
        <div class="tl-circ"></div>
        <div class="timeline-panel">
          <div class="tl-heading">
            <h4>The Institute for the Harmonious Development of Man</h4>
            <p><small class="text-muted"><i class="fa fa-cog"></i>Unknown</small></p>
          </div>
          <div class="tl-body">
            <p>After a time in Georgia and Turkey, Gurdjieff travelled to western Europe, giving demonstrations of his work in various cities. Upon a unsuccessful attempt to gain British citizenship, Gurdjieff established the <em>Institute for the Harmonious Development of Man</em> in Paris, France.</p>
          </div>
        </div>
      </li>
      <!-- Fourth Item -->
      <li><div class="tldate">1924</div></li>
      <li>
      <li class="timeline-inverted">
        <div class="tl-circ"></div>
        <div class="timeline-panel">
          <div class="tl-heading">
            <h4>All and Everything</h4>
            <p><small class="text-muted"><i class="fa fa-cog"></i>Unknown</small></p>
          </div>
          <div class="tl-body">
            <p>Gurdjieff began writing <a href="https://www.amazon.com/Beelzebubs-Tales-His-Grandson-Gurdjieff-ebook/dp/B0072I1IFE/ref=sr_1_1?ie=UTF8&qid=1497156938&sr=8-1&keywords=beelzebub%27s+tales" target="_blank"><em>Beelzebub's Tales</em></a>, the first part of the <em>All and Everything</em> series.</p>
          </div>
        </div>
      </li>
        <li><div class="tldate">1935</div></li>
      <li>
      <li>
        <div class="tl-circ"></div>
        <div class="timeline-panel">
          <div class="tl-heading">
            <h4>All and Some Things</h4>
            <p><small class="text-muted"><i class="fa fa-cog"></i>Unknown</small></p>
          </div>
          <div class="tl-body">
            <p>Gurdjieff stopped work on his <em>All and Everything</em> series. The first two parts of the trilogy were complete, but the third was not. The third part of the trilogy was later published under the title <em>Life Is Real Only Then, When 'I Am'.</em></p>
          </div>
        </div>
      </li>
      <!-- SIXTH ITEM -->
        <li><div class="tldate">1936</div></li>
      <li>
      <li class="timeline-inverted">
        <div class="tl-circ"></div>
        <div class="timeline-panel">
          <div class="tl-heading">
            <h4>Fading</h4>
            <p><small class="text-muted"><i class="fa fa-cog"></i>Unknown</small></p>
          </div>
          <div class="tl-body">
            <p>Gurdjieff taught during World War II in a flat at <em>6 Rue des Colonels-Renard</em>. At this point in his life, his teaching was far removed from the original system-- although his pupils were required to read <a href="https://www.amazon.com/Beelzebubs-Tales-His-Grandson-Gurdjieff-ebook/dp/B0072I1IFE/ref=sr_1_1?ie=UTF8&qid=1497156938&sr=8-1&keywords=beelzebub%27s+tales" target="_blank"><em>Beelzebub's Tales</em></a> three times. </p>
          </div>
        </div>
      </li>
  </div>
  <div class="row" style="height:50px; width:100%;background-color:white; margin: 0; border:0;padding:0;">
  </div>
    
   
  </body>
            
          
!
            
              /*
The HTML and CSS styling for the timeline are based on a blog post published by Template Monster. This post can be viewed at https://www.templatemonster.com/blog/tutorial-build-vertical-timeline-archives-page-using-bootstrap/.

I want to thank Jake Rochelau for making this tutorial available, as it has taught me a lot about the potential of CSS, and introduced me to some new techniques. 

*/
body { background: #77c9d4;
       font-family:Georgia;}

img {boder: 0; max-width:50%;}

.page-header {
  text-align: center;
  color: #efefef;
  text-shadow: 1px 1px 0 #000;
}

h1 {
  font-size: 4em;
}

/** timeline box structure **/
.timeline {
  list-style: none;
  padding: 20px 0 20px;
  position: relative;
}

.timeline:before {
  top: 0;
  bottom: 0;
  position: absolute;
  content: " ";
  width: 3px;
  background-color: #eee;
  left: 50%;
  margin-left: -1.5px;
}

.tldate {
  display: block;
  width: 200px;
  background: #57bc90;
  border: 3px solid #015249;
  color: #ededed;
  margin: 0 auto;
  padding: 3px 0;
  font-weight: bold;
  text-align: center;
  -webkit-box-shadow: 0 0 11px rgba(0,0,0,0.35);
}

.timeline li {
  margin-bottom: 25px;
  position: relative;
}

.timeline li:before, .timeline li:after {
  content: " ";
  display: table;
}
.timeline li:after {
  clear: both;
}
.timeline li:before, .timeline li:after {
  content: " ";
  display: table;
}
/** timeline panels **/

.timeline li .timeline-panel {
  width: 46%;
  float: left;
  background: #fff;
  border: 1px solid #d4d4d4;
  padding: 20px;
  position: relative;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  border-radius: 8px;
  -webkit-box-shadow: 0 1px 6px rgba(0,0,0,0.15);
  -moz-box-shadow: 0 1px 6px rgba(0,0,0,0.15);
  box-shadow: 0 1px 6px rgba(0,0,0,0.15);
}

/** timeline circle icons **/
.timeline li .tl-circ {
  position: absolute;
  top: 23px;
  left: 50%;
  text-align: center;
  background: #57bc90;
  color: #fff;
  width: 35px;
  height: 35px;
  line-height: 35px;
  margin-left: -16px;
  border: 3px solid #015249;
  border-top-right-radius: 50%;
  border-top-left-radius: 50%;
  border-bottom-right-radius: 50%;
  border-bottom-left-radius: 50%;
  z-index: 99999;
}


/** timeline content **/

.tl-heading h4 {
  margin: 0;
  color: #015249;
}

.tl-body p, .tl-body ul {
  margin-bottom: 0;
}

.tl-body > p + p {
  margin-top: 5px;
}

/** panel arrows **/
.timeline li .timeline-panel:before {
  position: absolute;
  top: 26px;
  right: -15px;
  display: inline-block;
  border-top: 15px solid transparent;
  border-left: 15px solid #ccc;
  border-right: 0 solid #ccc;
  border-bottom: 15px solid transparent;
  content: " ";
}

.timeline li .timeline-panel:after {
  position: absolute;
  top: 27px;
  right: -14px;
  display: inline-block;
  border-top: 14px solid transparent;
  border-left: 14px solid #fff;
  border-right: 0 solid #fff;
  border-bottom: 14px solid transparent;
  content: " ";
}

.timeline li .timeline-panel.noarrow:before, timeline li timeline-panel.noarrow {
  top: 0;
  right: 0;
  display: none;
  border: 0;
}

.timeline li.timeline-inverted .timeline-panel {
  float: right;
}

.timeline li.timeline-inverted .timeline-panel:before {
  border-left-width: 0;
  border-right-width: 15px;
  left: -15px;
  right: auto;
}

.timeline li.timeline-inverted .timeline-panel:after {
  border-left-width: 0;
  border-right-width: 14px;
  left: -14px;
  right: auto;
}
.image-box {
  height: 70%;
  width: 70%;
  margin: 0 auto;
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  resize: both;
  overflow: auto;
}

.main-image {
  border-radius: 10px;
  border: 3px solid white;
}

/** media queries **/
@media (max-width: 991px) {
  .timeline li .timeline-panel {
    width: 44%;
  }
}

@media (max-width: 700px) {
  .page-header 
  {font-size:1em;}
  
  ul.timeline:before {
    left: 40px;
  }
  
  .tldate {width: 140px;}
  
  ul.timeline li .timeline-panel {
    width: calc(100% - 90px);
    width: -moz-calc(100%- 90px);
    width: -webkit-calc(100%-90px);
  }
  
  ul.timeline li .tl-circ {
    top: 22px;
    left: 22px;
    margin-left: 0;
  }
  ul.timeline > li > .tldate {
    margin: 0;
  }
  ul.timeline > li > .timeline-panel {
    float: right;
  }
  ul.timeline > li > .timeline-panel:before {
    border-left-width: 0;
    border-right-width: 15px;
    left: -15px;
    right: auto; 
  }
  ul.timeline > li > .timeline-panel:after {
    border-left-width: 0;
    border-right-width:14px;
    left: -14px;
    right: auto; 
  }
  .image-box {
    max-width: 100%;
    max-height: 100%;
    justify-content: left;
    align-items: left;
    resize: both;
    overflow: auto;
    margin-left: 0;
    padding-left: 0;
  }
  .main-image {
    min-width: 200px;
  }
  .page-header {
    text-align: left;
  }
}
div > button {
  display: block;
  width: 100%;
}


            
          
!
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