Pen Settings

HTML

CSS

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

JavaScript

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

Packages

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.

Behavior

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.

HTML

              
                <h1 class="page-title">Kitchen sink</h1>

<hr>

**Headings:**

# Heading Level 1

Morbi leo risus, porta ac consectetur ac, vestibulum at eros.

## Heading Level 2

Morbi leo risus, porta ac consectetur ac, vestibulum at eros.

### Heading Level 3

Morbi leo risus, porta ac consectetur ac, vestibulum at eros.

#### Heading level 4

Morbi leo risus, porta ac consectetur ac, vestibulum at eros.

##### Heading level 5

Morbi leo risus, porta ac consectetur ac, vestibulum at eros.

###### Heading level 6

Morbi leo risus, porta ac consectetur ac, vestibulum at eros.

----

**Text:**

Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas.

**Pellentesque habitant morbi tristique** senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. _Aenean ultricies mi vitae est._ Mauris placerat eleifend leo. Quisque sit amet est et sapien ullamcorper pharetra. Vestibulum erat wisi, condimentum sed, `commodo vitae`, ornare sit amet, wisi. Aenean fermentum, elit eget tincidunt condimentum, eros ipsum rutrum orci, sagittis tempus lacus enim ac dui. [Donec non enim](#) in turpis pulvinar facilisis. Ut felis.

> Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus magna. Cras in mi at felis aliquet congue. Ut a est eget ligula molestie gravida. Curabitur massa. Donec eleifend, libero at sagittis mollis, tellus est malesuada tellus, at luctus turpis elit sit amet quam. Vivamus pretium ornare est.
> 
> <cite>#cite [#cite](#cite)</cite>

Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo.

Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Curabitur blandit tempus porttitor. Curabitur blandit tempus porttitor. Etiam porta sem malesuada magna mollis euismod. Vestibulum id ligula porta felis euismod semper.

----

**Lists:**

**Ordered list:**

1.  Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
2.  Aliquam tincidunt mauris eu risus.
3.  Maecenas sed diam eget risus varius blandit sit amet non magna.

**Ordered list (reversed):**

1.  Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
2.  Aliquam tincidunt mauris eu risus.
3.  Maecenas sed diam eget risus varius blandit sit amet non magna.

**Unordered list:**

*   Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
*   Aliquam tincidunt mauris eu risus.
*   Maecenas sed diam eget risus varius blandit sit amet non magna.

**Definition list:**

Lorem ipsum dolor sit amet
: Consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

Lorem ipsum dolor sit amet
: Consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

----

**Inline elements:**

[Link](#)

**Strong**

_Emphasized_

<small>Small</small>

~~Deleted~~

^^Inserted^^

<kbd>Keyboard</kbd> (++ctrl+alt+delete++)

==Marked==

Abbreviation
*[Abbreviation]: Abbreviation

Sub~script~

Super^script^

----

**Tables:**

**HTML version:**

<table>
  <caption>Caption</caption>
  <thead>
    <tr>
      <th scope="col">Pellentesque</th>
      <th scope="col">Quam</th>
      <th scope="col">Aenean</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <th scope="row">Fermentum</th>
      <td>Fringilla</td>
      <td>Dapibus</td>
    </tr>
    <tr>
      <th scope="row">Lorem</th>
      <td>Mollis</td>
      <td>Inceptos</td>
    </tr>
    <tr>
      <th scope="row">Sollicitudin</th>
      <td>Ullamcorper</td>
      <td>Tellus</td>
    </tr>
  </tbody>
  <tfoot>
    <tr>
      <th scope="row">Ridiculus</th>
      <td colspan="2">Venenatis</td>
    </tr>
  </tfoot>
</table>

**Markdown version:**

| Pellentesque | Quam        | Aenean   |
| ------------ | ----------- | -------- |
| Fermentum    | Fringilla   | Dapibus  |
| Lorem        | Mollis      | Inceptos |
| Sollicitudin | Ullamcorper | Tellus   |
| Ridiculus    | Venenatis   |          |

----

**Code blocks:**

```python
def hello_world():
    print("Hello world")
```

```sql
SELECT *
FROM `hello_world`
WHERE `foo` = "bar";
```

```html
<h1>Hello world</h1>
<p>Vestibulum id ligula porta felis euismod semper.</p>
```

```css
.hello-world {
    background-color: #663399;
    display: block;
    height: 10vh;
    width: 4em;
}
```
              
            
!

CSS

              
                // Use CSS and apply them to a variety of basic HTML elements.
// Tip: Add a Kitchen sink page to your own project and add your own commonly-used elements for improved use.
// Example: http://tools.marijkeluttekes.nl/kitchen-sink
              
            
!

JS

              
                
              
            
!
999px

Console