cssAudio - Activefile-genericCSS - ActiveGeneric - ActiveHTML - ActiveImage - ActiveJS - ActiveSVG - ActiveText - Activefile-genericVideo - ActiveLovehtmlicon-new-collectionicon-personicon-teamlog-outoctocatpop-outspinnerstartv

Pen Settings

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

You're using npm packages, so we've auto-selected Babel for you here, which we require to process imports and make it all work. If you need to use a different JavaScript preprocessor, remove the packages in the npm tab.

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

Use npm Packages

We can make npm packages available for you to use in your JavaScript. We use webpack to prepare them and make them available to import. We'll also process your JavaScript with Babel.

⚠️ This feature can only be used by logged in users.

Code Indentation

     

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.

            
              <div class="container-fluid jumbotron">

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

  <div id="top">

    <figure id="bust" class="figure">
      <a href="https://commons.wikimedia.org/wiki/File:Bust_Of_Bertrand_Russell-Red_Lion_Square-London.jpg#/media/File:Bust_Of_Bertrand_Russell-Red_Lion_Square-London.jpg" target="_blank">
        <div class="fixedImage"><img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/431676/RussellBust.jpg" alt="Bust Of Bertrand Russell in Red Lion Square-London" class="img-responsive figure-img"></div>
      </a>
      <figcaption class="figure-caption">Bust of Russell in Red Lion Square, London.</figcaption>
    </figure>

    <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>
        <footer>
          <cite>Common Sense and Nuclear Warfare</cite>
        </footer>
      </blockquote>
    </div>

    <figure id="portrait" class="figure">
      <a href="https://commons.wikimedia.org/wiki/File:Russell_in_1938.jpg#/media/File:Russell_in_1938.jpg" target="_blank">
        <div class="adjustImage"><img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/431676/RussellPortrait.jpg" alt="Russell in 1938.jpg" class="img-responsive figure-img"></div>
      </a>
      <figcaption class="figure-caption">Russell in 1938.</figcaption>
    </figure>
  </div>


  <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>
  </ul>

  <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>
  </blockquote>

  <h2 class="text-center">To find out more, please visit Russell's <a href="https://en.wikipedia.org/wiki/Bertrand_Russell" 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>

    <ul>

      <li><a href="https://www.goodreads.com/book/show/243685.A_History_of_Western_Philosophy?from_search=true" target="_blank">A History of Western Philosophy</a></li>
      <li><a href="https://www.goodreads.com/book/show/31799.The_Problems_of_Philosophy" target="_blank">The Problems of Philosophy</a></li>
      <li><a href="https://www.goodreads.com/book/show/135742.In_Praise_of_Idleness_and_Other_Essays" target="_blank">In Praise of Idleness and Other Essays</a></li>
      <li><a href="https://www.goodreads.com/book/show/472025.Why_I_Am_Not_a_Christian_and_Other_Essays_on_Religion_and_Related_Subjects" target="_blank">Why I Am Not a Christian and Other Essays on Religion and Related Subjects</a></li>
      <li><a href="https://www.goodreads.com/book/show/51784.The_Autobiography_of_Bertrand_Russell" target="_blank">The Autobiography of Bertrand Russell</a></li>

    </ul>

    <h4>By other authors:</h4>

    <ul>

      <li><a href="https://www.goodreads.com/book/show/592728.Russell?ac=1&from_search=true" target="_blank">Russell: A Very Short Introduction</a> by A.C. Grayling</li>
      <li><a href="https://www.goodreads.com/book/show/6493321-logicomix?ac=1&from_search=true" target="_blank">Logicomix: An Epic Search for Truth</a> by Apostolos Doxiadis, Christos H. Papadimitriou, Alecos Papadatos (Illustrator), Annie Di Donna (Illustrator)</li>

    </ul>
  </section>

</div>

<footer class="text-center">
  <p>Written and coded by <a href="https://www.freecodecamp.com/matt2112" target="_blank">Matt Lewis.</a></p>
</footer>
            
          
!
            
              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() {
    reOrder();
});

$(window).resize(function() {
    reOrder();
});

var reOrder = function() {
    if ($(window).width() < 544) {
        $("#bust").insertAfter($("#summary"));
        $("#portrait").insertAfter($("#quote1"));
        $("#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) {
        
        $("#summary").insertAfter($("#bust"));
        $("#quote1").insertAfter($("#portrait"));

        $("#bust, #summary, #portrait").addClass("col");
        $("#centralWords").removeClass("col");
        
        $("#quote1 p, #quote2 p").addClass("quoteText");
        
        $("h1").css("font-size", "4em");
        $("#summary").css("font-size", "1.5em");
    } else {
        
        $("#summary, #quote1").appendTo("#centralWords");
        $("#centralWords").insertAfter($("#bust"));
        $("#portrait").insertAfter($("#centralWords"));
        
        $("#summary").removeClass("col");
        $("#bust, #centralWords, #portrait").addClass("col");
        $("h1").css("font-size", "5em");
        $("#quote1 p, #quote2 p").removeClass("quoteText");
        $("#summary").css("font-size", "2em");
    }
}
            
          
!
999px
🕑 One or more of the npm packages you are using needs to be built. You're the first person to ever need it! We're building it right now and your preview will start updating again when it's ready.
Loading ..................

Console