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.

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

              
                <div class="space">
  <p>時は内乱のさなか。凶悪な銀河帝国の支配に反乱軍の秘密基地から奇襲を仕掛け帝国に対し初めて勝利を収めた。更にその戦闘の合間に反乱軍のスパイは帝国軍の究極兵器の設計図を盗み出すことに成功。それは”デス・スター”と呼ばれ惑星をも粉々にするパワーを持つ宇宙要塞基地だった。凶悪な帝国軍に追われながらレイア姫は盗み出した設計図を手に故郷へと急いだ。人類を救い銀河に自由を取り戻すために....</p>
</div>
              
            
!

CSS

              
                .space{
  color: #fff;
  heigth: 1000px;
  padding: 50px;
  background-image: url(https://cotodama.co/wp-content/uploads/2018/06/198685149.jpg);
  background-size: 690px 100%;
  background-position: center;
  background-attachment: scroll;
}
.space p{
  font-size: 1.2em;
  line-height: 3.0em;
}
              
            
!

JS

              
                
              
            
!
999px

Console