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. You can use the CSS from another Pen by using it's URL and the proper URL extention.

+ 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.


                <figure class="clapperboard">
  <img src="" alt="Apollo 17 launch" />
  <q>We leave as we came and, God willing, as we shall return, with peace and hope...</q>
  – Eugene Cernan, commander of Apollo 17, the last man on the moon.


                body {
background: #452;

figure.clapperboard {
border: 7px solid white;
border-radius: 7px;
position: relative;

figure.clapperboard img{

figure.clapperboard figcaption {
position: absolute; 
left: 618px;
top: 0;
padding: 2rem;
figure.clapperboard, figure.clapperboard figcaption {
width: 618px;
height: 515px;
overflow: hidden;
figure.clapperboard figcaption q {
font-size: 2rem;
display: block;
margin-bottom: 2rem;
figure.clapperboard figcaption {
font-family: Futura, Arial, sans-serif;
font-weight: 100; 
font-style: italic;
color: white;
box-sizing: border-box;
font-size: 1.2rem; 
padding: 8 rem 2rem 0 660px; 
padding-top: 8rem;
background: rgba(0,0,0,0.6);
text-shadow: 3px 3px 1px rgba(0,0,0,0.6);
transition: transform 2s ease-in-out;
opacity: 0;
transition-property: opacity, transform, background;
transition-timing-function: linear, ease, linear;
transition-duration: 2s, 9999999s, 2s;
transition-delay: 0s, 0s, 0s;

figure.clapperboard:hover figcaption {
transform: translate(-618px);
opacity: 1;
background: rgba(0,0,0,0.68);
transition-property: opacity, transform, background;
transition-timing-function: ease, cubic-bezier(.12,.49,.17,.87), linear;
transition-duration: 0s, 1.5s, 1s;
transition-delay: 0s, 0s, 1s;