octocatstartv

Pen Settings

CSS Base

Vendor Prefixing

Add External CSS

These stylesheets will be added in this order and before the code you write in the CSS editor. You can also add another Pen here, and it will pull the CSS from it. Try typing "font" or "ribbon" below.

Quick-add: + add another resource

Add External JavaScript

These scripts will run in this order and before the code in the JavaScript editor. You can also link to another Pen here, and it will run the JavaScript from it. Also try typing the name of any popular library.

Quick-add: + add another resource

Code Indentation

     

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.

            
              <h3>How to make pancakes</h3>
<section>
  <p>Put the flour into a large bowl, make a well in the centre and pour in the milk and eggs. Give the liquid mixture a quick whisk before incorporating the flour. Continue to whisk until you have a smooth batter.</p>
  <p>Now add 1 tbsp vegetable oil and whisk thoroughly.</p>
  <p>Take a crêpe pan, or large frying pan, dip some kitchen roll in the oil and carefully wipe the inside of the pan. Heat the pan over a medium heat for a minute.</p>
  <p>Add just under a ladleful of batter to the pan and immediately start swirling it round the pan to get a nice even layer.</p>
  <p>Cook the pancake for approximately 30-40 seconds. Use a palette knife to lift the pancake carefully to look at the underside to check it is golden-brown before turning over. Cook the other side for approx 30-40 seconds and transfer to a serving plate.</p>
  </section>
            
          
!
            
              body {
  counter-reset: section;           /* Set the section counter to 0 */
}
p:before {
  counter-increment: section;      /* Increment the section counter */
  content: "Step  " counter(section) ": "; /* Display the counter */
    font-weight: bold;
  padding-top: 5px;
  padding-bottom: 10px;
  color: #242424;
  font-size: 20px;
}
h3 {
      font-weight: bold;
  padding-top: 5px;
  padding-bottom: 10px;
  color: #242424;
  font-size: 20px;
 text-align: center;
  font-family: arial;
}

section {
  width: 600px;
  margin: auto;
  font-size: 16px;
  line-height: 24px;
  font-family: arial;
}
p {
  margin-bottom: 10px;
}
            
          
!
999px
Close

Asset uploading is a PRO feature.

As a PRO member, you can drag-and-drop upload files here to use as resources. Images, Libraries, JSON data... anything you want. You can even edit them anytime, like any other code on CodePen.

Go PRO

Loading ..................

Console