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

              
                <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="359.247px" height="81.599px" viewBox="0 0 359.247 81.599" enable-background="new 0 0 359.247 81.599"
	 xml:space="preserve">

  <a class="btn" xlink:href="http://ja.wikipedia.org/wiki/%E3%82%BC%E3%83%AB%E3%83%80%E3%81%AE%E4%BC%9D%E8%AA%AC%E3%82%B7%E3%83%AA%E3%83%BC%E3%82%BA">
    <path fill="#1E899D" d="M333.365,49.016c0,6.062-4.914,10.976-10.976,10.976H18.761c-6.062,0-10.976-4.914-10.976-10.976V13.2
	c0-6.062,4.914-10.976,10.976-10.976h303.628c6.062,0,10.976,4.914,10.976,10.976V49.016z"/>
    <g>
	    <defs>
		    <path id="XMLID_2_" d="M333.365,46.792c0,6.062-4.914,10.976-10.976,10.976H18.761c-6.062,0-10.976-4.914-10.976-10.976V10.976
			C7.785,4.914,12.699,0,18.761,0h303.628c6.062,0,10.976,4.914,10.976,10.976V46.792z"/>
	    </defs>
	    <use class="base" xlink:href="#XMLID_2_"  overflow="visible" fill="#00BBDD"/>
	    <clipPath id="XMLID_3_">
		    <use xlink:href="#XMLID_2_"  overflow="visible"/>
	    </clipPath>
	    <circle opacity="0.3" clip-path="url(#XMLID_3_)" fill="#FFFFFF" cx="329.086" cy="51.438" r="30.161"/>
	    <circle opacity="0.3" clip-path="url(#XMLID_3_)" fill="#FFFFFF" cx="16.579" cy="47.687" r="16.579"/>
	    <circle opacity="0.3" clip-path="url(#XMLID_3_)" fill="#FFFFFF" cx="293.084" cy="57.769" r="16.579"/>
	    <circle opacity="0.3" clip-path="url(#XMLID_3_)" fill="#FFFFFF" cx="38.576" cy="57.873" r="13.486"/>
	    <circle opacity="0.3" clip-path="url(#XMLID_3_)" fill="#FFFFFF" cx="329.623" cy="20.394" r="12.837"/>
    </g>
    <path fill="#FFFFFF" d="M60.888,18.865c-6.182-10.158-15.497-3.091-15.497-3.091c-0.603,0.457-1.717,0.831-2.474,0.834h-2.495
	c-0.757,0.003-1.871-0.373-2.474-0.83c0,0-9.315-7.068-15.497,3.09c-6.181,10.153-3.691,21.212-3.691,21.212
	c0.438,2.707,1.876,4.514,4.591,4.287c2.707-0.226,8.582-7.291,8.582-7.291c0.485-0.581,1.5-1.057,2.257-1.057l14.954-0.003
	c0.757,0,1.773,0.476,2.257,1.057c0,0,5.876,7.065,8.586,7.291c2.711,0.229,4.154-1.58,4.587-4.287
	C64.575,40.078,67.07,29.022,60.888,18.865z M36.88,22.935v3.187v0.274h-0.274h-3.2v3.2v0.274h-0.274h-3.194h-0.274v-0.274v-3.2
	h-3.197h-0.275v-0.274v-3.187v-0.274h0.275h3.197v-3.203v-0.274h0.274h3.194h0.274v0.274v3.203h3.2h0.274V22.935z M50.759,30.656
	c-1.405,0-2.537-1.134-2.537-2.538c0-1.404,1.132-2.538,2.537-2.538c1.399,0,2.54,1.134,2.54,2.538
	C53.299,29.522,52.158,30.656,50.759,30.656z M50.759,23.673c-1.405,0-2.537-1.136-2.537-2.54c0-1.404,1.132-2.537,2.537-2.537
	c1.399,0,2.54,1.133,2.54,2.537C53.299,22.538,52.158,23.673,50.759,23.673z M57.08,27.422c-1.405,0-2.537-1.136-2.537-2.54
	c0-1.404,1.132-2.537,2.537-2.537c1.399,0,2.54,1.133,2.54,2.537C59.62,26.286,58.479,27.422,57.08,27.422z"/>
    
    <text class="btn-text" x="80" y="38">ゲームしてもいい?</text>
  </a>
</svg>
              
            
!

CSS

              
                .btn:hover .base {
  fill: #0ba;
}
.btn-text {
  font: 26px 'Hiragino Maru Gothic Pro','ヒラギノ丸ゴ Pro W4','HG丸ゴシックM-PRO','HGMaruGothicMPRO', sans-serif;
  fill: #fff;
}
              
            
!

JS

              
                
              
            
!
999px

Console