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 id="app">
  <button class="button" type="button" name="button">
    <span class="top"></span>
    <span class="middle"></span>
    <span class="bottom"></span>
  <p class="text">← ハンバーガーボタンを押してください</p>
  <nav id="gnav" class="nav" v-show="gnav">
    <div class="nav__body">
      <ul class="nav__lst">
        <li class="nav__item"><a>Works</a></li>
        <li class="nav__item"><a>Blog</a></li>
        <li class="nav__item"><a>People</a></li>
        <li class="nav__item"><a>Recruit</a></li>
        <li class="nav__item"><a>Company</a></li>
        <li class="nav__item"><a>Contact</a></li>


  display: block
  width: 50px
  height: 50px
  background-color: transparent
  border: none
  position: relative
  z-index: 100
  appearance: none
  cursor: pointer
  outline: none
      transform: rotate(45deg)
      opacity: 0
      transform: rotate(-45deg)
    display: block
    width: 20px
    height: 1px
    margin: auto
    background-color: #000
    position: absolute
    top: 0
    bottom: 0
    left: 0
    right: 0
    transition: .5s ease
      transform: translateY(-6px)
      transform: translateY(6px)
  width: 100%
  height: 100%
  position: fixed
  top: 0
  left: 0
  background-color: #d1dde3
  overflow-y: scroll
  z-index: 99

    opacity: 0

    opacity: 1

    transition: opacity 1s ease

    padding: 40px
    list-style: none

    font-size: 24px
    line-height: 1.5
    font-weight: 700
    & ~ &
      margin-top: 8px
      color: #000
      padding: 8px 0
  position: absolute
  top: 0
  left: 60px


                const vue = new Vue({
  el: '#app',
  data: {
    gnav: false