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.


  h4.title Click to Delete
    // Deleting objects from local data
    // is super simple with Vue
      v-for="item in list",
      span {{ }}
    // if you delete them all
      h5.title Ooops, all out of names!
  code {{ list | json }}


                @import url(,300,600);

:root {
  font-size: 16px;

* {
  box-sizing: border-box;

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;

.wrapper {
  width: 20rem;

.title {
  font-weight: 300;
  text-align: center;
  margin-bottom: 1rem;

li {
  position: relative;
  cursor: pointer;
  &:hover {
    background: #f9f9f9;
    &:after {
      opacity: 1;
      transform: translateX(4.25rem);
  &:after {
    content: 'Delete?';
    color: #F44336;
    position: absolute;
    right: 0;
    z-index: -1;
    opacity: 0;
    transition: 500ms ease;
    transform: translateX(0);

pre {
  background: #f9f9f9;
  padding: 1rem;
  boirder-radius: 5px;
  margin-left: 10rem;



                new Vue({
  el: 'body',
  data: {
    list: [
      { name: 'Mason Fox' },
      { name: 'Tom Johnson' },
      { name: 'Teddy Conklin' },
      { name: 'Don Keyso' }