cssAudio - Activefile-genericCSS - ActiveGeneric - ActiveHTML - ActiveImage - ActiveJS - ActiveSVG - ActiveText - Activefile-genericVideo - ActiveLovehtmlicon-new-collectionicon-personicon-teamlog-outoctocatpop-outspinnerstartv

Pen Settings

CSS Base

Vendor Prefixing

Add External CSS

These stylesheets will be added in this order and before the code you write in the CSS editor. You can also add another Pen here, and it will pull the CSS from it. Try typing "font" or "ribbon" below.

Quick-add: + add another resource

Add External JavaScript

These scripts will run in this order and before the code in the JavaScript editor. You can also link to another Pen here, and it will run the JavaScript from it. Also try typing the name of any popular library.

Quick-add: + add another resource

Code Indentation

     

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.

            
              <h1>I had now found my first friend,<br>and so my life was truly begun.</h1>
<p>
  Vestibulum nibh velit, ultrices sed tellus eget, pulvinar viverra odio. Quisque molestie sit amet dolor at faucibus. Nullam imperdiet auctor metus, eget semper est ornare ac.
</p>
<p>
  Curabitur eu sapien ipsum. Nam non ante fringilla, congue augue vel, cursus velit. Duis suscipit ante et neque congue, nec posuere leo commodo.
</p>
            
          
!
            
              @import url('https://fonts.googleapis.com/css?family=Lora');

body {
  text-align: center;
  color: #888;
  font: 16px/1.5 'Lora', serif;
  
/* 2つの背景画像を設定 */
  background-image:  url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/85188/side-flower.jpg), url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/85188/side-rose.jpg);
  background-position: left top, right top;
  background-repeat: no-repeat;
}
h1 {
  margin-bottom: 20px;
  margin-top: 100px;
  font-size: 30px;
}
p {
  width: 60%;
  margin: 0 auto 20px;
}
            
          
!
999px
Loading ..................

Console