Pen Settings



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


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.


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.


                <div class="container">

  <div class="pullUp">
    <h1>Land on Stranger's Head </h1>
    <p>Burrow under covers stare at the wall, play with food and get confused by dust so spit up on light gray carpet instead of adjacent linoleum see owner.</p>

  <div class="pocket"></div>



                /* General Styling */

@import url(|Fauna+One);
body {
  background: #fff;

h1 {
  font-family: 'Playfair Display', script;
  font-style: italic;
  color: #639bab;
  font-size: 20px;

p {
  font-family: 'Fauna One', serif;
  font-size: 12px;
  line-height: 26px;
  color: #474142;

hr {
  border: 0;
  height: 1px;
  background: #a3a291;

.container {
  width: 450px;
  height: 300px;
  overflow: hidden;
  margin: 0 auto;
/* pullUp Styling */

.pullUp {
  width: 350px;
  margin: 0 auto;
  padding: 2em;
  background-color: #f7f7eb;
  position: relative;
  -webkit-border-top-left-radius: 10px;
  -webkit-border-top-right-radius: 10px;
  -moz-border-radius-topleft: 10px;
  -moz-border-radius-topright: 10px;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  transform: translateY(140px);
  transition: all 0.5s ease-in-out;

.pullUp:hover {
  transform: translateY(0px);
/* pocket Styling */

.pocket {
  height: 150px;
  border-top: 1px solid #a3a291;
  background-color: #fff;
  position: relative;
  z-index: 2;