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="contain">
	<div class="wp-block-columns alignwide has-3-columns"><div class="wp-block-column"><figure class="wp-block-image"><img src="https://demo.creatorcourses.com/gutenberg/wp-content/uploads/2018/09/yoda.jpg" alt="" class="wp-image-10126" srcset="https://demo.creatorcourses.com/gutenberg/wp-content/uploads/2018/09/yoda.jpg 720w, https://demo.creatorcourses.com/gutenberg/wp-content/uploads/2018/09/yoda-300x169.jpg 300w" sizes="(max-width: 720px) 100vw, 720px"></figure>

	<h3>Yoda</h3>

	<p>Only a fully trained Jedi Knight with the Force as his ally will conquer Vader and his Emperor. If you end your training now, if you choose the quick and easy path, as Vader did, you will become an agent of evil. Patience. And sacrifice Han and Leia? If you honor what they fight for…yes! If you choose to face Vader, you will do it alone. I cannot interfere. I understand. Artoo, fire up the converters.</p>
	</div>

	<div class="wp-block-column"><figure class="wp-block-image"><img src="https://demo.creatorcourses.com/gutenberg/wp-content/uploads/2018/09/obi-wan.jpg" alt="" class="wp-image-10127" srcset="https://demo.creatorcourses.com/gutenberg/wp-content/uploads/2018/09/obi-wan.jpg 720w, https://demo.creatorcourses.com/gutenberg/wp-content/uploads/2018/09/obi-wan-300x169.jpg 300w" sizes="(max-width: 720px) 100vw, 720px"></figure>

	<h3>Obi-Wan Kenobi</h3>

	<p>General Kenobi, years ago you served my father in the Clone Wars. Now he begs you to help him in his struggle against the Empire. I regret that I am unable to present my father’s request to you in person, but my ship has fallen under attack and I’m afraid my mission to bring you to Alderaan has failed. I have placed information vital to the survival of the Rebellion into the memory systems of this R2 unit. <br></p>
	</div>

	<div class="wp-block-column"><figure class="wp-block-image"><img src="https://demo.creatorcourses.com/gutenberg/wp-content/uploads/2018/09/luke.png" alt="" class="wp-image-10128" srcset="https://demo.creatorcourses.com/gutenberg/wp-content/uploads/2018/09/luke.png 720w, https://demo.creatorcourses.com/gutenberg/wp-content/uploads/2018/09/luke-300x169.png 300w" sizes="(max-width: 720px) 100vw, 720px"></figure>

	<h3>Luke Skywalker</h3>

	<p>Luke! Luke! Luke! Hey! Hey! I knew you’d come back! I just knew it! Well, I wasn’t gonna let you get all the credit and take all the reward. Hey, I knew there was more to you than money. Oh, no! Oh, my! Artoo! Can you hear me? Say something! You can repair him, can’t you? We’ll get to work on him right away. You must repair him! Sir, if any of my circuits or gears will help, I’ll gladly donate them. He’ll be all right.</p>
	</div>
	</div>
</div>

<footer>Learn more: <a target="_blank" href="https://creatorcourses.com/product/gutenberg-theming/">Theming for Gutenberg</a></footer>
              
            
!

CSS

              
                /** Some basic styles to make things look nice.**/
@import url('https://fonts.googleapis.com/css?family=Open+Sans|Oswald');

img {
	max-width: 100%;
}

h3 {
	font-family: 'Oswald', sans-serif;
	font-size: 1.6rem;
	font-weight: bold;
}

p {
	line-height: 1.45em;
	font-size: 1.25rem;
	font-family: 'Open Sans', sans-serif; 
}

footer {
	text-align: center;
	color: #AFAFAF;
	font-size: 0.85rem;
	font-family: 'Open Sans', sans-serif; 
}

footer a {
	color: #999999;
	transition: color 0.5s ease;
}

footer a:hover {
	color: #333333;
}
/***************/

.wp-block-columns {
	display: flex;
	margin: 20px 0;
}

.wp-block-column {
	flex: 1;
	margin: 0 20px;
}

@media (max-width: 764px) {
	.wp-block-columns.has-3-columns {
		flex-flow: row wrap;
	}

	.has-3-columns .wp-block-column:first-child {
		flex-basis: 100%;
	}
}

@media (max-width: 478px) {
	.wp-block-columns.has-3-columns {
		display: block;
	}

	.wp-block-column {
		margin: 20px 0;
	}
}
              
            
!

JS

              
                
              
            
!
999px

Console