Pen Settings



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


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


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.


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.


	<img src="//">	
	<p class="title">Shape Outside Demo <span>ellipse</span>
	<p class="intro">The following are a few of my favorite excerpts from the 2005 Stanford University commencement speech given by Steve Jobs.</p>
	<p class="first">“No one wants to die. Even people who want to go to heaven don't want to die to get there. And yet death is the destination we all share. No one has ever escaped it. And that is as it should be, because Death is very likely the single best invention of Life. It is Life's change agent. It clears out the old to make way for the new. Right now the new is you, but someday not too long from now, you will gradually become the old and be cleared away. Sorry to be so dramatic, but it is quite true.</p>

	<p>Your time is limited, so don't waste it living someone else's life. Don't be trapped by dogma — which is living with the results of other people's thinking. Don't let the noise of others' opinions drown out your own inner voice. And most important, have the courage to follow your heart and intuition. They somehow already know what you truly want to become. Everything else is secondary.</p>

	<p>Stay Hungry. Stay Foolish.”</p>	


                img {
  float: left; 
	height: 600px;
	width: 600px;
	shape-outside: ellipse(224px 320px at 35.1% 50%);

// styles for fun, not important to show css-shapes

// CSS Pattern from Lea Verou
body {
	background-color: hsl(240,100,5);
	color: #fff;
	font-family: "Libre Baskerville", serif;
	line-height: 1.7;
	position: relative;
	width: 100%;

.title {
	margin: 0 auto;
	max-width: 60rem;

.title {
	font-size: 2.5rem;
	font-weight: 700;
	line-height: 1.1;
	margin: 0 0 .5rem 0;
	padding: 3.5rem 0 0;
	span {
		color: hsl(200, 90, 90);
		font-size: 2rem;
		font-style: italic;
		font-weight: 400;
		line-height: 1.2;
		margin: 0;

@supports (shape-outside: circle() ) {
	.title {
		padding: 2.0rem 0 0;

.intro {
	color: hsl(30, 50, 60);
	font-style: italic;
	font-size: 1.15rem;
	text-shadow: 1px 1px 1px #333;

p {
	font-size: .9rem;
	margin: 0;
	padding-top: 1.5rem;

.first {
	padding-top: 1.22rem;