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 is required to process package imports. If you need a different preprocessor remove all packages first.

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


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>
   <img class="duke" src="" />
   <img class="ella" 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>
  <img class="bandphoto" src="" />
  <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>



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

/* If you are seeing a large gap of unexplained space below the images, you are likely using Firefox, which has a soon-to-be-fixed bug related to the <img> tag. Try the URL in another browser such as Chrome.*/ 
.albumtitle {
  grid-area: head; 

.duke {
  grid-area: photo-1;

.ella {
  grid-area: photo-2;

.album-desc {
  grid-area: main; 

.bandphoto {
  grid-area: spread; 

.credits {

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 {