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>
    <meta charset="UTF-8">
  <meta name="description" content="C.S. Lewis Tribute">
  <meta name="keywords" content="C.S. Lewis">
  <meta name="author" content="Hege Refsnes">
</head>
  </head>
  <body>
    <div class = "main-content">
    <h1 class = "text-center">C.S. Lewis</h1>
    <h4 class = "text-center">The great author. <h4>
      <div>
    <img src = "http://www.nycslsociety.com/uploads/cs-lewis_at_desk.jpg" alt = "A picture of C.S. Lewis." class = "img-responsive">
        <p class = "text-center">C.S. Lewis writing.</p>
      </div>
    <p class = "info">
      Clive Staples Lewis (1898–1963) was one of the intellectual giants of the twentieth century and arguably one of the most influential writers of his day. He was a Fellow and Tutor in English Literature at Oxford University until 1954, when he was unanimously elected to the Chair of Medieval and Renaissance Literature at Cambridge University, a position he held until his retirement. </p>
      <p class = "info">

Lewis wrote more than thirty books, allowing him to reach a vast audience, and his works continue to attract thousands of new readers every year. C. S. Lewis's most distinguished and popular accomplishments include Mere Christianity, Out of the Silent Planet, The Great Divorce, The Screwtape Letters, and the universally acknowledged classics in The Chronicles of Narnia. To date, the Narnia books have sold over 100 million copies and been transformed into three major motion pictures. 
      </p>
      <h3 class = "quote">
        I have found a desire within myself that no experience in this world can satisfy; the most probable explanation is that I was made for another world. <br>
                          ~C.S. Lewis
        
      </h3>
      <h2 class = "external-link">
        <a href = "https://en.wikipedia.org/wiki/C._S._Lewis" target = "_blank">
      Read More about C.S. Lewis!
        </a>
        
      </h2>
      </div>
      <br>
      <br>
      <br>
      <br>
      <h5 class = "text-center">
        Coded by Joshua Faggion
      </h5>
  </body>
</html>
              
            
!

CSS

              
                body {
  background-color: #999967;
}
h1 {
  font-family: Garamond, sans-serif;
  color: #333333;
}
h4 {
  font-family: Garamond, sans-serif;
}

p {
  font-family: Garamond, sans-serif;
  text-align: center;
  line-height: 30px;
}
h5 {
  font-family: Garamond, sans-serif;
}
.info {
  font-family: Garamond, sans-serif;
  font-size: 23px;
}
.main-content {
  margin: 100px 200px 100px 200px;
}
.external-link {
  text-align: center;
  color: #CCCC9A;
  font-family: Garamond;
}
.quote {
  text-align: center;
  font-family: Garamond, sans-serif;
}
img {
  display: block;
  margin-left: auto;
  margin-right: auto;
}
              
            
!

JS

              
                
              
            
!
999px

Console