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

              
                <link href='https://fonts.googleapis.com/css?family=Quicksand:700' rel='stylesheet' type='text/css'>

<h1 class="text-primary text-center" style="font-family: Quicksand; font-size: 50px; color: black; padding-bottom: 30px"><b>Sir David Attenborough</b></h1>

<img src="http://img01.thedrum.com/news/tmp/56002/sd.jpg" class="img-border">

<div class="row" style="background-color: white; margin-top: 80px">
  <div class="col-md-7">
    <p style="text-align: center; font-family: Quicksand; font-size: 30px; padding: 30px" class="primary-text"><u> Timeline</u> </p>
  </div>
  <div class="col-md-5">
    <ul>
      <li><b>1926 -</b> 8 May, Born in London</li>
      <li><b>1952 -</b> Joins BBC as trainee producer</li>
      <li><b>1954 -</b> Began producing the BBC Zoo Quest series and remained working on the programme for 7 years.</li>
      <li><b>1963 -</b> Presents Attenborough and Animals (BBC), his first children’s series.</li>
      <li><b>1969 -</b> Promoted to BBC Director of Programmes, overseeing all BBC TV output.</li>
      <li><b>1979 -</b> Life On Earth (BBC); this was the most ambitious nature series of its time, setting a new benchmark for ‘landmark’ natural history films.</li>
      <li><b>1985 -</b> Knighted by HRH Queen Elizabeth II for services to factual broadcasting.</li>
      <li><b>2006 -</b> Narrated Planet Earth, exploring wildlife around the world. This was the first natural history series to be filmed in High Definition and went on to win multiple awards.</li>
      <li><b>2016 -</b> Celebrated 90th Birthday</li>
    </ul>
  </div>
</div>
   <p class="text-center" style="padding: 30px; font-size: 20px"><em>"I just wish the world was twice as big and half of it was still unexplored."</em></p>

<p class="text-center" style="padding-top: 30px">To find out more about David Attenborough, read his wikipedia page <a href="https://en.wikipedia.org/wiki/David_Attenborough"><u>here</u></a></p>

<p style="float: right; padding: 10px">Designed by Patrick Collings</p>
              
            
!

CSS

              
                img {
  width: 1200px;
  display: block;
  margin: 0 auto;
}

ul {
  padding: 30px;
  spacing: 10px;
}

a:link {
  color: black;
}

a:hover {
  color: white;
}

li {
  margin: 10px;
}

.img-border {
  border-color: white;
  border-width: 10px;
  border-style: solid;
  border-radius: 4px;
}

body {
  background-color: grey;
}
              
            
!

JS

              
                
              
            
!
999px

Console