Pen Settings

HTML

CSS

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

JavaScript

Babel is required to process package imports. If you need a different preprocessor remove all packages first.

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

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.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

HTML Settings

Here you can Sed posuere consectetur est at lobortis. Donec ullamcorper nulla non metus auctor fringilla. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.

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