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.


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="the-road"></div>

<div class="wrapper">
  <div class="announcement">
    <div class="brand">
      <i class="fa fa-mr-fusion"></i>
      <span class="cn">Mr. Fusion</span>
      <span class="cl">Home Energy Reactor</span>
    <i class="dmc-logo fa fa-dmc-logo"></i>
    <h1>It&rsquo;s finally here.</h1>
    <h2>Mr. Fusion is happy to announce a DIY kit to convert your DeLorean into a modern vehicle.</h2>
    <button><i class="fa fa-shopping-cart"></i> Order your kit today $9,999.95


                /* Hide all content while the icons and typefaces are loading */
html.fa-events-icons-loading body,
html.fa-events-typefaces-lato-loading body,
html.fa-events-typefaces-orbitron-loading body {
  display: none;

body {
  margin: 0;
  padding: 0;
  background-color: black;

.wrapper {
  position: absolute;
  top: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding-top: 2em;

.announcement {
  text-align: center;
  color: white;
  max-width: 35em;

.the-road {
  height: 900px;
  background-position: center center;
  background-size: cover;
  background-image: url(;
  filter: brightness(40%);

.brand {
  margin-bottom: 2rem;

.brand .fa-mr-fusion {
  font-size: 100px;

.brand span {
  display: block;
  font-family: 'Orbitron';
  text-transform: uppercase;

.brand .cn {
  font-size: 35px;
  font-weight: bold;
  margin-top: 18px;
  letter-spacing: 0.1em;

.brand .cl {
  font-size: 14px;
  display: inline-block;
  letter-spacing: 0.22em;
  margin-top: 1px;
  border-top: 3px solid white;
  padding-top: 8px;

h1, h2, button {
  font-family: 'Lato';
  font-weight: 400;

h1 {
  font-weight: 900;

.dmc-logo {
  font-size: 60px !important;
  margin: 2rem 0;

button {
  font-size: 1.5rem;
  padding: 0.5em;
  border: 1px solid #777777;
  border-radius: 0.2em;
  color: white;
  background-color: #444444;