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

              
                <figure class="image-block">
	<svg class="image-block__image" fill="#666" version="1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1024 1024">
		<path d="M304.7 4.7c-7.4 12.8-8.9 17.3-9 27.3-.2 7.9.1 9.5 1.3 9.5s1.6-1.6 1.8-7.2c.4-8.9 1.5-10.2 7.2-8.3 3.4 1.1 4.5 1.1 7.7-.3 5.5-2.3 14.3-3.3 14.3-1.5 0 .7 1.8 3.5 4 6.3 2.2 2.7 4 5.5 4 6.2 0 .6 1.8 3.3 4 6 2.1 2.6 5.1 6.2 6.5 7.9 1.4 1.8 2.5 4.4 2.5 5.8 0 2.2.4 2.6 2.8 2.6 1.7 0 3.7.9 4.9 2.2 2.2 2.5 4.7 6.8 4.1 7.3-.2.1-2.9 1-6.1 1.9-4.5 1.3-5.7 2.1-5.3 3.2.3.9.6 2 .6 2.5s2 .9 4.4.9c3.3 0 5.2-.7 8.1-3l3.9-3.1 1.3 3.2c1.6 4 1.7 3.9-.5 3.9-1 0-3.9 1.3-6.5 3-4.6 2.9-5.2 3-16.6 3-10.4 0-12 .2-13.6 2-1.7 1.8-1.6 1.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 4.4.3 2.9-1.9 5 .4 2.7 3-1.6 1.7-1.5 1.9 1.8 3.4 3.5 1.5 3.5 1.5 3.5-.9 0-1.3 1.2-3.5 2.6-4.8 1.5-1.4 2.2-2.5 1.7-2.5-.5 0-2.6-1.6-4.6-3.5-2.8-2.7-4.4-3.5-7.2-3.5-3.2 0-3.8-.4-5.1-3.5-2.4-5.8-1.9-7.4 3.1-9.6 5.6-2.5 7.1-6.2 3.6-9-1.9-1.6-3.5-1.7-11.9-1.2l-9.8.6-3.2-3.3c-3.7-3.7-3.7-4.9.1-6.8 3-1.5 3.7-4.3 1-4-1 0-4.7.4-8.3.7zM332.5 67.8c-2.7.8-5.2 1.6-5.4 1.8-.9.8 3.1 5.4 4.8 5.4 3.1 0 6.3-3.3 5.9-6.1l-.3-2.5-5 1.4zM314 68.2c0 .7.5 2 1 2.8.8 1.2 1 1.1 1-.7 0-1.2-.4-2.5-1-2.8-.5-.3-1 0-1 .7zM568.7 70.8c-1.9 2-2.7 3.9-2.7 6.5 0 4 2.2 5.9 4.3 3.8 1.7-1.7 3.7-1.3 3.7.9 0 1 .8 2.3 1.8 2.8 1.9 1 20.2 1.3 20.1.3 0-.3-1.7-3.3-3.7-6.5-3.5-5.6-4.1-6-9.7-7.6-11.4-3.2-10.9-3.2-13.8-.2zM311 77.5c0 1.9 2.7 5.5 4.2 5.5 2 0 2.3-1.2.8-4.1-.9-1.6-5-2.8-5-1.4z"/>
	</svg>
	<figcaption class="image-block__caption">Germany</figcaption>
</figure>
              
            
!

CSS

              
                .image-block {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
	
	&__image {
		width: 100%;
		min-width: 200px;
		max-width: 300px;
	}
	
  &__caption {
    position: absolute;
    top: 33.333%;
    transform: translateY(33.333%);
  }
}


// ---- Visual styles ----

body {
	background: #EEE;
}

.image-block {

	&__caption {
		color: whitesmoke;
		font-family: sans-serif;
		text-transform: uppercase;
		letter-spacing: 1px;
	}
}
              
            
!

JS

              
                
              
            
!
999px

Console