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 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> A Website </h1>
    <li><a href="#">Home</a></li>
    <li><a href="#"> About Us</a></li>
    <li> <a href="#">Contact</a></li>
  <p>We are excited to launch our new company and product Ooooh. After being featured in too many magazines to mention and having created an online stir, we know that Ooooh is going to be big. You may have seen us in the Dinosaurs’ Den where we were we told that we didn’t need them because we were already doing it so well ourselves, so that’s what we have continued to do. We also hope to win Startup Fictional Business of the Year this Year.</p>
  <p>Browse our site and see for yourself why you need Ooooh.</p>
  <p>Here are some of the fantastic things people have had to say about Ooooh:
    <p>“It’s just brilliant. I will recommend Ooooh to everyone I know!” A. Girl.</p>
<p>“I’m really glad these guys got Ooooh out there. I’ve bought it and now think perhaps I should have invested!” A. Dinosaur.</p>


                h1 {
  font-size: 15vw;
  text-align: center;

nav {
  width: 100vw;
  margin-bottom: 5vh;
nav ul li {
  width: 30vw;
  display: inline-block;
    list-style : none;
nav ul li a{
height: 5vw;
  display: inline-block;
  padding: 10px;
  background: #08C;
  color: white;
  font-weight: bold;
  text-decoration: none;
  line-height: 5vw;
  width: 20vw;
  text-align: center;
section {
  width: 80vw;
  font-size: 2.5vh;
  line-height: 3.5vh;
  margin: auto;