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

              
                <div class="container">
  <div class="row">
    <div class="col-xs-3 padding-10 text-center">
      <p>スクリーン用に書き出し<br>プレゼンテーション属性</p>
      
      <!-- SVGここから -->
      <svg id="04247205-a4ea-4446-aa31-39933eb8d38b" data-name="レイヤー 1" xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20">
        <title>artboard</title>
        <rect width="20" height="20" fill="#72d3f2"/>
      </svg>
      <!-- SVGここまで -->
      
      <br><br>
      <p>内部css</p>
      
      <!-- SVGここから -->
      <svg id="781d3698-d19f-4c86-ba09-4b571cf395b4" data-name="レイヤー 1" xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20">
        <defs>
          <style>
            .\35 dbb3aa7-c5db-4b5b-8026-a14070b170d2 {
              fill: #72d3f2;
            }
          </style>
        </defs>
        <title>artboard</title>
        <rect class="5dbb3aa7-c5db-4b5b-8026-a14070b170d2" width="20" height="20"/>
      </svg>
      <!-- SVGここまで -->
      
    </div>
    <div class="col-xs-3 padding-10 text-center">
      <p>書き出し形式からSVGを選ぶ</p>
      
      <!-- SVGここから -->
      <svg id="512a2ce4-e1be-498d-bcc3-b1e3014899e1" data-name="レイヤー 1" xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20">
        <title>artboard2</title>
        <rect width="20" height="20" fill="#72d3f2"/>
      </svg>
      <!-- SVGここまで -->
      
    </div>
    <div class="col-xs-3 padding-10 text-center">
      <p>別名で保存からSVGで保存</p>
      
      <!-- SVGここから -->
      <?xml version="1.0" encoding="utf-8"?>
      <!-- Generator: Adobe Illustrator 21.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0)  -->
      <svg version="1.1" id="レイヤー_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px"
         y="0px" viewBox="0 0 20 20" enable-background="new 0 0 20 20" xml:space="preserve">
      <g>
        <rect fill="#72D3F2" width="20" height="20"/>
      </g>
      </svg>
      <!-- SVGここまで -->
      
    </div>
    <div class="col-xs-3 padding-10 text-center">
      <p>オブジェクトをコピーしてエディタに貼付</p>
      
      <!-- SVGここから -->
      <!-- Generator: Adobe Illustrator 21.1.0, SVG Export Plug-In  -->
      <svg version="1.1"
           xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:a="http://ns.adobe.com/AdobeSVGViewerExtensions/3.0/"
           x="0px" y="0px" width="20px" height="20px" viewBox="0 0 20 20" enable-background="new 0 0 20 20" xml:space="preserve">
      <defs>
      </defs>
      <g>
          <rect fill="#72D3F2" width="20" height="20"/>
      </g>
      </svg>
      <!-- SVGここまで -->
      
    </div>
  </div>
</div>



              
            
!

CSS

              
                .padding-10{
  padding: 10px;
}
              
            
!

JS

              
                
              
            
!
999px

Console