Pen Settings



CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URLs added here will be added as <link>s in order, and before the CSS in the editor. You can use the CSS from another Pen by using its URL and the proper URL extension.

+ add another resource


Babel includes JSX processing.

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


Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.


Auto Save

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.


                <div class="container-fluid jumbotron">

  <h1 class="text-center">Bertrand Russell</h1>

  <div id="top">

    <figure id="bust" class="figure">
      <a href="" target="_blank">
        <div class="fixedImage"><img src="" alt="Bust Of Bertrand Russell in Red Lion Square-London" class="img-responsive figure-img"></div>
      <figcaption class="figure-caption">Bust of Russell in Red Lion Square, London.</figcaption>

    <div id="centralWords">
      <h3 id="summary" class="center">Philosopher, mathematician, pacifist, social activist, genius</h3>

      <blockquote id="quote1" class="clear">
        <p>The view that No World is better than a Communist world, or that No World is better than a Capitalist world, is one that is difficult to refute by abstract arguments, but I think that those who hold it should question their right to impose their
          opinion upon those who do not hold it by the infliction of the death penalty upon all of them. This is an extreme form of religious persecution, going far beyond anything that has been advocated in previous human history.</p>
          <cite>Common Sense and Nuclear Warfare</cite>

    <figure id="portrait" class="figure">
      <a href="" target="_blank">
        <div class="adjustImage"><img src="" alt="Russell in 1938.jpg" class="img-responsive figure-img"></div>
      <figcaption class="figure-caption">Russell in 1938.</figcaption>

  <h3 class="text-center" style="clear:both">A brief timeline of Russell's life:</h3>

  <ul class="clear">

    <li><strong>1872</strong> - Born Bertrand Arthur William Russell in Wales.</li>
    <li><strong>1890</strong> - Won a scholarship to read for the Mathematical Tripos at Trinity College, Cambridge.</li>
    <li><strong>1908</strong> - Made a Fellow of the Royal Society.</li>
    <li><strong>1910</strong> - Takes on Ludwig Wittgenstein as a PhD student.</li>
    <li><strong>1910-13</strong> - Publishes <em>Principia Mathematica</em> (in three volumes, written with Alfred North Whitehead).</li>
    <li><strong>1918</strong> - Imprisoned towards the end of the First World War for his pacifist views.</li>
    <li><strong>1931</strong> - On the death of his brother, becomes 3rd Earl Russell.</li>
    <li><strong>1945</strong> - Publishes <em>A History of Western Philosophy</em>.</li>
    <li><strong>1949</strong> - Awarded the Order of Merit.</li>
    <li><strong>1950</strong> - Awarded the Nobel Prize in Literature.</li>
    <li><strong>1955</strong> - Issues the Russell–Einstein Manifesto, calling for nuclear disarmament. </li>
    <li><strong>1970</strong> - Dies of influenza.</li>

  <blockquote id="quote2" class="text-center">
    <p>In the breadth of his interests, the boldness and fertility of his ideas, the elegance of his style, and the intensity of his passion for truth and justice, he sets an example to us all.</p>
    <footer><cite>A. J. Ayer</cite></footer>

  <h2 class="text-center">To find out more, please visit Russell's <a href="" target="_blank">Wikipedia entry.</a> Or better yet, read one of the books below!</h2>

  <section id="bibliography">
    <h3 class="text-center" style="clear:both">Selected bibliography:</h3>

    <h4>By Russell:</h4>


      <li><a href="" target="_blank">A History of Western Philosophy</a></li>
      <li><a href="" target="_blank">The Problems of Philosophy</a></li>
      <li><a href="" target="_blank">In Praise of Idleness and Other Essays</a></li>
      <li><a href="" target="_blank">Why I Am Not a Christian and Other Essays on Religion and Related Subjects</a></li>
      <li><a href="" target="_blank">The Autobiography of Bertrand Russell</a></li>


    <h4>By other authors:</h4>


      <li><a href="" target="_blank">Russell: A Very Short Introduction</a> by A.C. Grayling</li>
      <li><a href="" target="_blank">Logicomix: An Epic Search for Truth</a> by Apostolos Doxiadis, Christos H. Papadimitriou, Alecos Papadatos (Illustrator), Annie Di Donna (Illustrator)</li>



<footer class="text-center">
  <p>Written and coded by <a href="" target="_blank">Matt Lewis.</a></p>


                h1 {
  margin-top: -0.5em;

body {
  margin: 1em;

ul {
  margin: 0 auto;
    font-size: 1.2em;
  width: -moz-fit-content;
  width: -webkit-fit-content;
  width: fit-content;

img {
    margin-top: 0.5em;

.col {
    width: 33.33%;
    float: left;
    box-sizing: padding-box;

.clear {
    clear: both;

.quoteText {
    font-size: 1.2em !important;

#quote2 {
    margin-top: 2em;

#summary {
    text-align: center;
    padding: 0 0.5em;
    font-size: 1.5em;
    margin-top: 0.5em;

#bibliography {
    max-width: 600px;
    margin: 0 auto;


                $(document).ready(function() {

$(window).resize(function() {

var reOrder = function() {
    if ($(window).width() < 544) {
        $("#bust, #summary, #quote1, #portrait, #centralWords").removeClass("col");
        $("h1").css("font-size", "3em");
        $("#quote1 p, #quote2 p").removeClass("quoteText");
        $("#summary").css("font-size", "1.5em");
    } else if ($(window).width() >= 544 && $(window).width() < 1200) {

        $("#bust, #summary, #portrait").addClass("col");
        $("#quote1 p, #quote2 p").addClass("quoteText");
        $("h1").css("font-size", "4em");
        $("#summary").css("font-size", "1.5em");
    } else {
        $("#summary, #quote1").appendTo("#centralWords");
        $("#bust, #centralWords, #portrait").addClass("col");
        $("h1").css("font-size", "5em");
        $("#quote1 p, #quote2 p").removeClass("quoteText");
        $("#summary").css("font-size", "2em");