Pen Settings

HTML

CSS

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

JavaScript

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

Packages

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.

Behavior

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.

HTML

              
                <div class="container-fluid px-5">
  <h1 class="my-4 display-1 text-center">Rene Magritte</h1>
  <h2 class="mb-5 text-muted text-center">Belgian Surrealist Painter</h2>
  <div class="row d-flex align-items-center">
    <figure class="col-lg-4 text-center">
      <img class="rounded-circle img-fluid m-3" src="http://www.renemagritte.org/images/rene-magritte-photo.jpg" alt="Portrait of Rene Magritte.">
      <figcaption class="figure-caption pl-4">"Everything we see hides another thing, we always want to see what is hidden by what we see."</figcaption>
    </figure>
    <div class="col-lg-8">
      <p class="px-5"><span class="drop-cap lead">S</span>urely the most celebrated Belgian artist of the twentieth century, Rene Magritte has achieved great popular acclaim for his idiosyncratic approach to Surrealism. To support himself he spent many years working
        as a commercial artist, producing advertising and book designs, and this most likely shaped his fine art, which often has the abbreviated impact of an advertisement. While some French Surrealists led ostentatious lives, Magritte preferred the
        quiet anonymity of a middle-class existence, a life symbolized by the bowler-hatted men that often populate his pictures. In later years, he was castigated by his peers for some of his strategies (such as his tendency to produce multiple copies
        of his pictures), yet since his death his reputation has only improved. Conceptual artists have admired his use of text in images, and painters in the 1980s admired the provocative kitsch of some of his later work.</p>
      <footer class="blockquote-footer text-center"><a href="http://www.theartstory.org/artist-magritte-rene.html" target="_blank"><cite title="Source Title">The Art Story</cite></a></footer>
    </div>
  </div>
  <footer class="text-center mt-5 text-muted">Made by Cloris</footer>
</div>
              
            
!

CSS

              
                body {
  font-family: 'Quicksand', sans-serif;
}
p {
  line-height: 2rem;
  font-size: 18px;
}
h1,h2,footer {
  font-family: 'Playfair Display', serif;
  font-weight: 700 !important;
}
.drop-cap {
  float: left;
  font-size: 4rem;
  line-height: 40px;
  padding-top: 11px;
  padding-right: 6px;
  padding-left: 1px;
}
a {
  color: black;
}

footer {
  font-size:0.75rem;
  font-weight: 400 !important;
}
              
            
!

JS

              
                
              
            
!
999px

Console