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

              
                <div id="main" class="container">
  <div class="background-silver">
    <div class="row">
      <div class="col-md-12">
        <h1 id="title" class="text-center">Alan Turing</h1>
        <h2 class="text-center"><i>The man who cracked the Enigma</i></h2>
        <div id="img-div" class="thumbnail">
          <img id="image" src="https://upload.wikimedia.org/wikipedia/commons/a/a1/Alan_Turing_Aged_16.jpg" alt="Alan Turing Aged 16" class="mx-auto d-block">
          <div id="img-caption" class="caption text-center">Alan Turing Aged 16</div>
        </div>
      </div>
      <div id="tribute-info" class="col-xs-12 col-md-8 col-md-offset-2 well">
        <h3 class="text-center">Time-line of Alan Mathinson Turing</h3>
        <ul>
          <li><b>1912</b> Born at Maida Vale, London, Ingland.</li>
          <li><b>1922 - 1926</b> Educated at Hazelhurst Preparatory School.</li>
          <li><b>1926</b> Continued education at Sherbone School.</li>
          <li><b>1931 - 1934</b> Undergraduate at King's College, Cambridge, where he was awarded first-class honors in mathematics.</li>
          <li><b>1936</b> Won Smith's Prize award.</li>
          <li><b>1938</b> Obtained PhD from Princeton.</li>
          <li><b>1939</b> Solved the essential part of the German Navy enigma by developing an electrical machine called "Bombe".</li>
          <li><b>1942</b> Devised a technique termed Turingery for use against the Lorez Cypher.</li>
          <li><b>1945 - 1947</b> Worked on the design of ACE (Automatic Computing Engine) at the National Physical Laboratory</li>
          <li><b>1947</b> Returned to Cambridge for a sabatical year during which he produced a seminal work on <i>Intelligent Machinery</i>.</li>
          <li><b>1948</b> Appointed Reader in the Mathemetics Department at the Victoria University of Manchester.</li>
          <li><b>1949</b> Deputy Director of the Computing Machine Laboratory at the  Victoria University of Manchester.</li>
          <li><b>1952</b> Prosecuted for homosexual acts.</li>
          <li><b>1954</b> Died at the age of 41, at Wilmslow, Cheshire, England. Cause of death wdeas cyanide poisoning.</li>
        </ul>
        <p class='text-center font-17'>To read more about this man, click <a href='https://en.wikipedia.org/wiki/Alan_Turing' target='_blank' id="tribute-link">here</a></p>.
      </div>
    </div>
  </div>
  <footer class='text-center'>
    <p>Written and coded by Guy Even.</p>
  </footer>
</div>
              
            
!

CSS

              
                body {
  margin-top: 60px;
}
.background-silver {
  background-color: silver;
}

.font-17 {
  font-size: 17px;
}

#image {
  max-width: 100%;
  height: auto;
}
              
            
!

JS

              
                
              
            
!
999px

Console