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.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

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.

HTML

            
              <html class="no-js" lang="" id="main">

    <head>
        <meta charset="utf-8">
        <meta http-equiv="x-ua-compatible" content="ie=edge">
        <title id="title">Peter Higgs Tribute Page</title>
        <meta name="description" content="">
        <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
        <link rel="stylesheet" href="stylesheet.css">
    </head>

    <body>
        <h1>Peter Higgs</h1>
        <h2>A well-recognized lifetime of contribution to physics</h2>
        <div id="img-div">
            <a title="By Hans G [CC BY-SA 2.0 (https://creativecommons.org/licenses/by-sa/2.0)], via Wikimedia Commons"
                href="https://commons.wikimedia.org/wiki/File%3APeter_higgs_chalkboard.jpg"><img id="image" alt="Peter higgs chalkboard"
                    src="https://upload.wikimedia.org/wikipedia/commons/thumb/9/97/Peter_higgs_chalkboard.jpg/512px-Peter_higgs_chalkboard.jpg" /></a>
            <figcaption id="img-caption">Peter Higgs, won the Nobel Prize for this work on the mass of subatomic particle</figcaption>
        </div>
        <h2>A timeline of Peter Higgs' most notable achievements:</h2>
        <ul id="tribute-info">
            <li><strong>1929:</strong> born in Elswick, Newcastle upon Tyne, United Kingdom.</li>
            <li><strong>1941-46:</strong> attends Cotham Grammar School in Bristol.</li>
            <li><strong>1950:</strong> graduates with a first class honours degree in Physics from King's College London.</li>
            <li><strong>1954:</strong> gets awarded a PhD for his thesis: <em>"Some Problems in the Theory of Molecular Vibrations."</em></li>
            <li><strong>1954-56:</strong> gets appointed as a Senior Research Fellow at the University of Edinburgh.</li>
            <li><strong>1960:</strong> returns to the University of Edinburgh, taking up the post of Lecturer at the Tait Institute of Mathematical Physics.</li>
            <li><strong>1964:</strong> publishes the paper titled <em>"Broken Symmetries, Massless Particles and Gauge Fields,"</em> in Physics Letters 12, and then <em>"Broken Symmetries and the Masses of Gauge Bosons,"</em> in Physical Review Letters 13, where he predicts a new massive spin-zero boson.</li>
            <li><strong>1974:</strong> becomes a Fellow of the Fellowship of the Royal Society of Edinburgh (FRSE).</li>
            <li><strong>1983:</strong> gets elected as a Fellow of the Royal Society (FRS).</li>
            <li><strong>1984:</strong> gets awarded the Rutherford Medal and Prize.</li>
            <li><strong>1996:</strong> retires and becomes Emeritus Professor at the University of Edinburgh.</li>
            <li><strong>1997:</strong> receives an honorary degree from the University of Bristol.</li>
            <li><strong>2008:</strong> receives an Honorary Fellowship from Swansea University.</li>
            <li><strong>2012:</strong> CERN announces that the existence of a Higgs-like boson has been experimentally established.</li>
            <li><strong>2013:</strong> the newly discovered particle was tentatively confirmed to be + parity and zero spin, two fundamental criteria of a Higgs boson, making it the first known fundamental scalar particle to be discovered in nature.</li>
            <li><strong>2013:</strong> shares the Nobel Prize in Physics with Francois Englebert "for the theoretical discovery of a mechanism that contributes to our understanding of the origin of mass of subatomic particles".</li>
        </ul>
        <figure>
            <q>A gentle soul, no one would imagine him to be a revolutionary.</q>
            <figcaption><em>Lawrence Krauss</em></figcaption>
        </figure>
        <p class="closing">Learn more about Peter Higgs' valuable achievements and numerous awards by heading over to his
            <a href="https://en.wikipedia.org/wiki/Peter_Higgs" id="tribute-link" target="_blank">Wikipedia page</a>.</p>
    </body>

</html>
            
          
!

CSS

            
              h1, h2 {
  font-family: Helvetica;
  text-align: center;
}

figure {
  background-color: #dddddd;
  margin: 0 10% 0 10%;
  padding-top: 3%;
  padding-bottom: 2%;
}

img {
  display: block;
  margin: auto;
  max-width: 100%;
}

figcaption {
  font-family: Trebuchet MS;
  text-align: center;
  font-size: 14px;
}

body {
  font-family: Trebuchet MS;
}

ul {
  margin: 0 20% 5% 20%;
}

li {
  line-height: 150%;
}

q {
  display: block;
  margin: 0 10% 1% 10%;
  font-family: Helvetica;
  font-size: 22px;
  text-align: center;
}

.closing {
  text-align: center;
  font-size: 18px;
}
            
          
!

JS

            
              
            
          
!
999px

Console