Pen Settings

HTML

CSS

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

JavaScript

Babel is required to process package imports. If you need a different preprocessor remove all packages first.

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

Behavior

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.

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.

HTML

              
                <html>
  <head></head>
  <body>
    <div class="container">
      <div class="jumbotron">
        <div class="row">
          <!-- Still need to make this text center-aligned responsive-->
          <div class="col-xs-12">
            <h1 class="title-text"><strong>Dale Carnegie</strong></h1>    
            <h6 class="subtitle-text"><em>The man who knew how to make friends.</em></h6>
          </div>
        </div>
        <hr>
        <div class="thumbnail img white-background">
          <img class="medium-image" src="http://www.famousauthors.org/famous-authors/dale-carnegie.jpg" alt="Dale starring."/>
          <div class="caption text-center">
            <h6><em>Dale Carnegie staring to the camera.</em></h6>
          </div>
      </div>
      <hr>
      <div class="col-xs-12">
          <h5 class="time-line-title"><strong>Here's a timeline of Dale Carnegie's life:</strong></h5>
          <ul class="timeline-font-size">
            <li><strong>Born in 1888</strong> in Maryville.</li>
            <li><strong>In 1911</strong> after saving $500 (about $12900 today), Dale Carnegie quit sales.</li>
            <li><strong>By 1914,</strong> he was earning $500 (about $12000 today) every week.</li>
            <li><strong>In 1926</strong> published Public Speaking: a Practical Course for Business Men</li>
            <li><strong>In 1932</strong> published Public Speaking and Influencing Men in Business</li>
            <li><strong>In 1936</strong> published Win Friends and Influence People.</li>
            <li><strong>In 1931</strong> his first marriage ended in divorce.</li>
            <li><strong>By 1944,</strong> in Tulsa, Oklahoma, he married Dorothy Price. </li>
            <li>Died on <strong>November 1, 1955.</srong></li>
          </ul>
        </div>
        <div class="col-sm-offset-1 ">
          <blockquote cite="https://goo.gl/3W67CU"> 
            <p>
              Nous nous fatiguons rarement tant que nous avons une occupation intéressante et passionnée. Mais l'ennui provoque une fatigue plus grave que l'épuisement physique.
            </p>
            <footer>
            <cite>Dale Carnegie</cite>
            </footer>
          </blockquote>
          <h4>
            If you feel like, read more about this friendly human being on his
            <a rel="nofollow" href="https://en.wikipedia.org/wiki/Dale_Carnegie" target="_blank">Wikipedia article</a>.
          </h4>
        </div>
      </div>
      <footer class="text-center">
        <hr>
        <p>
          Written and coded by
          <a rel="nofollow" href="https://www.freecodecamp.com/rdrgde" target="_blank">Rodrigo De</a>.
          </p>
      </footer>
  </body>
</html>
              
            
!

CSS

              
                .row {
  text-align: center;
}

.jumbotron{
  background-color:white;
}

.title-text{
  font-size: 35px;
}

.subtitle-text{
  font-size: 13px;
}

.medium-image{
  width:600px;
  height:250px;
}

.thumbnail img {
    height: 100%;
    width: 100%;
    display: table-cell;
    vertical-align: middle;
}

.caption {
  font-size:10px;
}

.white-background{
  background-color:white;
}

.time-line-title{
  font-size: 17px;
}
.timeline-font-size{
  font-size: 10px;
  position: relative;
  left: 5%;
}

blockquote{
  display:block;
  background: #fff;
  padding: 15px 20px 15px 45px;
  margin: 0 0 20px;
  position: relative;
  font-family: Georgia, serif;
  font-size: 16px;
  line-height: 1.2;
  color: #666;
  text-align: justify;
  border-left: 3px solid #ccc;
  -moz-box-shadow: 2px 2px 15px #ccc;
  -webkit-box-shadow: 2px 2px 15px #ccc;
  box-shadow: 2px 2px 15px #ccc;
}

blockquote::before{
  content: "\201C"; 
  font-family: Georgia, serif;
  font-size: 40px;
  font-weight: bold;
  color: #999;
  position: absolute;
  left: 17px;
  top:5px;
}

blockquote::after{
  content: ""; 
}


h4 {
  font-size:19px;
  text-align:justify;
 }

p {
  font-size:15px;
}
              
            
!

JS

              
                
              
            
!
999px

Console