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.


      h1.title the martian
        | Action, Adventure, Sci-fi
        | 2015
        | During a manned mission to Mars, Astronaut Mark Watney is presumed dead after a fierce storm and left behind by his crew. With only meager supplies, he must draw upon his ingenuity, wit and spirit to subsist and find a way to signal to Earth that he is alive.
        | play trailer


                @import url('');

@import url('');

title = Orbitron
light = #E2E3E6
font = Maven Pro
thin = 300

  background url('')
  background-repeat no-repeat
  background-size 350%
  height 100%

  position: relative;
  top: 6%;
  transform: translateY(-10%);
  background url(
  background-repeat no-repeat
  background-position center-center
  background-size cover
  height auto
  padding 2.5em
  filter saturate(1) blur(.35px)
  z-index 5
  transition all 500ms ease-in-out
  font-family title
  font-size 2.75em
  margin-top 20%
  text-transform uppercase
  float right
  position relative
  right .5em
  margin 7% 0 5% 0
  height: 1px
  width 100%
  background light
  margin 0 0 20% 0

  position relative
  top 30vh
  left 20vh

  margin-right .75em
  background #E2494B
  font-family font
  font-weight 300
  text-transform uppercase
  border-radius 3px
  transition all 300ms ease-in-out
  padding 16px
  top 10em
  &:hover, &:focus
    background #cc3b3b
// globals / utilities

h1, h2, h3, h4, h5, h6, p, .sub-left, .sub-right
  color light
  font-family font
.sub-left, .sub-right
  font-family title
  font-size .90em
  position relative
  top -.5em
p, .sub-left, .sub-right
  font-weight thin
  letter-spacing 1px