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.


                <div class="listWrapper">
  <ol class="numberedList">
      <li>Author and publish medical guidelines and evidence summaries in MAGICapp</li>
      <li>Creating an account enables you to read, review, or even author guidelines and evidence summaries</li>
      <li class="oneLiner">Save your personal settings for future visits</li>
      <li>Have the ability to edit and view any content offline without and internet connection</li>
      <li class="oneLiner">Have the ability to comment on all publically available content</li>


                @import "lesshat";

// basic styles
* {
  margin: 0;
  padding: 0;

body {
  font-family: sans-serif;
  background: #e7e7e7;
  font-size: 14px;

.listWrapper {
  background: white;
  width: 525px;
  margin: 50px;
  padding: 30px;

// code below goes into the mixins less file, if using one

.border-radius (@radius) {
  -webkit-border-radius: @radius;
  -moz-border-radius:    @radius;
  border-radius:         @radius;

.circleNumbers () {
  border: 2px solid #007385;
  color: #007385;
  display: inline-block;
  width: 25px;
  height: 25px;
  margin-right: 15px;
  text-align: center;
  line-height: 25px;
  font-weight: 700;
  font-size: .9em;
  position: absolute;
  top: 0px;
  left: 0px;

.generateOrderedList(@n, @i: 1) when (@i =< @n) {
  &:nth-child(@{i}) {
    &:before {
      content: "@{i}";
  .generateOrderedList(@n, (@i + 1));

// code below here is what would be in the main less stylesheet

ol.numberedList {
    display: inline-block;
    list-style-type: none;
    li {
      margin-bottom: 1.75em;
      padding-left: 45px;
      position: relative;
      &.oneLiner {
        &:before {
          top: -6px;