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

Auto Save

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

              
                <section id="lovesong">
  <h1>Love Song</h1>
  <p>あなたの愛する人の名前を入れましょう。</p>
    <input v-model="Name" placeholder="名前"> <hr>
<h2>{{Name}} {{Name}}</h2>
<p>
  ドブネズミみたいに美しくなりたい<br>
  写真には写らない美しさがあるから</p>
  <p>{{Name}}{{Name}} {{Name}}{{Name}}{{Name}}<br>
  {{Name}}{{Name}} {{Name}}{{Name}}{{Name}}<br>
  もしも僕がいつか君と出会い話し合うなら<br>
  そんな時はどうか愛の意味を知って下さい<br>
  {{Name}}{{Name}} {{Name}}{{Name}}{{Name}}<br>
  {{Name}}{{Name}} {{Name}}{{Name}}{{Name}} Oh</p>
  <p>ドブネズミみたいに誰よりもやさしい<br>
  ドブネズミみたいに何よりもあたたかく</p>
  <p>{{Name}}{{Name}} {{Name}}{{Name}}{{Name}}<br>
  {{Name}}{{Name}} {{Name}}{{Name}}{{Name}}<br>
  もしも僕がいつか君と出会い話し合うなら<br>
  そんな時はどうか愛の意味を知って下さい</p>
  <p>愛じゃなくても恋じゃなくても君を離しはしない<br>
  決して負けない強い力を僕は一つだけ持つ<br>
  {{Name}}{{Name}} {{Name}}{{Name}}{{Name}}<br>
  {{Name}}{{Name}} {{Name}}{{Name}}{{Name}} Oh</p>
  <p>
  {{Name}}{{Name}} {{Name}}{{Name}}{{Name}}<br>
  {{Name}}{{Name}} {{Name}}{{Name}}{{Name}} Oh<br>
  {{Name}}{{Name}} {{Name}}{{Name}}{{Name}}<br>
  {{Name}}{{Name}} {{Name}}{{Name}}{{Name}} Oh
</p>
<hr>
<p>※愛する人にこのラブソングを送りましょう。
  </p>
</section>

              
            
!

CSS

              
                #lovesong {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 0 20px rgba(0,0,0,0.2);
  font-family: sans-serif;
}

input {
  border: 1px solid: #eee;
  padding: 5px;
  font-size: 14px;
}


              
            
!

JS

              
                new Vue({
  el: '#lovesong',
  data: {
    Name: 'リンダ'
  }
});
              
            
!
999px

Console