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.

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.

              <div class="container-fluid">
  <h2 class="text-center">Aldous Leonard Huxley</h2>
  <div class="image">

  <img src="http://www.famousauthors.org/famous-authors/aldous-huxley.jpg" alt="Aldous Leonard Huxley in front of a tree" class="center-block img-responsive">
  <c>Image sourced from <a href="http://www.famousauthors.org">famousauthors.org</a>.</c>

  <div class="row bio">
    <div class="col-md-4">
<p>Aldous Leonard Huxley (26 July 1894 – 22 November 1963) was an English writer, novelist, philosopher, and prominent member of the Huxley family. He graduated from Balliol College at the University of Oxford with a first-class honours in English literature.</p></div>
<div class="col-md-4">
<p>He was best known for his novels including Brave New World, set in a dystopian future; for non-fiction books, such as The Doors of Perception, which recalls experiences when taking a psychedelic drug; and a wide-ranging output of essays. Early in his career Huxley edited the magazine Oxford Poetry and published short stories and poetry. Mid career and later, he published travel writing, film stories, and scripts. He spent the later part of his life in the United States, living in Los Angeles from 1937 until his death. In 1962, a year before his death, he was elected Companion of Literature by the Royal Society of Literature.</p></div>
<div class="col-md-4">
<p>Huxley was a humanist, pacifist, and satirist. He later became interested in spiritual subjects such as parapsychology and philosophical mysticism, in particular universalism. By the end of his life, Huxley was widely acknowledged as one of the pre-eminent intellectuals of his time. He was nominated for the Nobel Prize in Literature in seven different years.</p>
  <p>Read more at <a href="https://en.wikipedia.org/wiki/Aldous_Huxley">Wikipedia</a>.</p>
              body {
  font-family: Lato, sans-serif;
h2 {
  font-family: Metamorphous, serif;
  font-size: 3.4em;
  margin-top: 10px;
.bio {
  width: 70%;
  margin: 20px auto;
.image {
  width: 90%;
  text-align: center;
  margin: 20px auto;
img {
  border: 1px solid #000;
  border-radius: 5px;
🕑 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.