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


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.


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.

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">
  <div class="albumtitle"><h1>Ella Fitzgerald Sings the Duke Ellington Song Book</h1></div>
   <div class="duke"><img src=""/></div>
   <div class="ella"><img src=""/>
  <div class="album-desc"><p>Ella Fitzgerald Sings the Duke Ellington Song Book is a 1957 studio album by the American jazz singer Ella Fitzgerald, accompanied by the Duke Ellington orchestra, focusing on Ellington's songs.</p>

<p>Part of Fitzgerald's series of 'Songbooks', it is the only one where the composer is also featured as a performer. This was the first time that Fitzgerald had recorded with Ellington. It is also the entry in the Songbook series that provided her with the most opportunities to exhibit her skill at scat singing.</p></div>
  <div class="bandphoto"><img src=""/></div>
  <div class="credits"><p>Images sourced from the public domain <a href="" target="blank">William P. Gottlieb collection</a> at the Library of Congress.</p></div>



                .container {
  display: grid;
  grid-gap: 1em;
  padding: 1em;
  grid-template-areas: "head head"
                       "photo1 photo2"
                       "main main"
                       "spread spread"
                       "footer footer";

.albumtitle {
  grid-area: head; 

.duke {
  grid-area: photo1;

.ella {
  grid-area: photo2;

.album-desc {
  grid-area: main; 

.bandphoto {
  grid-area: spread; 

.credits {

@media (min-width: 36em) {
  .container {
  grid-template-areas: "head head head"
                       "photo1 main main"
                       "photo2 spread spread"
                       "footer footer footer";

@media (min-width: 72em) {
  .container {
  grid-template-areas: ".      .      head"
                       "photo1 photo2 main"
                       ".      .      spread"
                       "footer footer footer";
    grid-template-columns: 18% 18% 1fr;

img {
  max-width: 100%;

h1 {
	font-size: 1.33em;
	line-height: 1.25;
	margin-top: 0.5em;
	margin-bottom: 0.25em;
  font-family: 'Playfair Display', serif;

body {
  font-family: 'Raleway', serif;

p {

.credits p {