Pen Settings



CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

+ 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.


                <div id="pageWrapper">
  <div id="pageMasthead" class="pageSection"></div>
  <div id="pageContentArea" class="pageSection">
		<ul class="pageBreadcrumbs">
			<li class="breadcrumbPage breadcrumbPageRoot"><a href="">Root page</a></li>
			<li class="breadcrumbPage"><a href="">Child page</a></li>
			<li class="breadcrumbPage"><a href="">Grandchild page</a></li>
			<li class="breadcrumbPage breadcrumbPageCurrent"><a href="">Current page</a></li>
    <h1>Main Content Area</h1>
    <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce ac fringilla nunc. Praesent et sollicitudin libero. Vestibulum rutrum posuere libero, vitae aliquam urna scelerisque a. Mauris sed leo non est tincidunt sodales ut non sapien. Nam ac metus ultrices, lacinia leo at, venenatis felis. Nunc vel velit porttitor, varius felis blandit, facilisis diam. Donec posuere nec ipsum eu pharetra. Aenean dictum magna massa, eget pharetra tortor rutrum eget. Nam sed urna in orci gravida eleifend sit amet viverra nisl. In rutrum lectus a lectus faucibus, et interdum est consectetur. Etiam vitae purus vel odio placerat accumsan vel non libero. Nunc nec ex sed lacus venenatis rhoncus. Phasellus turpis sapien, porta sed finibus sit amet, aliquam et lorem. Proin in augue leo. Quisque in euismod nunc, quis finibus nisl. Maecenas consequat risus non tellus dignissim blandit.</p>

    <p>Donec in est non libero tincidunt egestas id eget lorem. Quisque accumsan tempor massa nec accumsan. Praesent gravida libero quis tortor euismod, sed interdum augue hendrerit. Fusce vel tellus faucibus, venenatis odio sit amet, efficitur velit. Aenean pretium porttitor volutpat. Duis sed commodo lectus. Aenean gravida a metus at mattis. Donec nibh mauris, lobortis quis lectus vel, egestas fermentum velit. Phasellus ultrices lorem lectus, eget sagittis orci congue ut. Curabitur venenatis metus lacus, eu vehicula erat lobortis non. Etiam at velit pretium, imperdiet lorem a, congue metus. Nunc sodales tortor ac efficitur mollis. Suspendisse lobortis dui in enim efficitur, varius dignissim arcu auctor.</p>
  <div id="pageFooter" class="pageSection"></div>


                /* BOILERPLATE */
*, *:before, *:after {-webkit-box-sizing:border-box; -moz-box-sizing:border-box; box-sizing:border-box;}

html {font-size:14px; -webkit-text-size-adjust:100%; -ms-text-size-adjust:100%;}

body {font-style:normal; font-size:1rem; line-height:1.286rem; font-family:helvetica, arial, sans-serif; background-color:#efefef; color:#333; text-align:left;}

#pageWrapper {width:984px; margin:1.429rem auto; border:solid 1px #ccc; background-color:#fff; padding:1rem;}

.pageSection {display:block; margin-top:1.429rem; clear:both;}
.pageSection:first-child {margin-top:0;}

h1,h2,h3,h4,h5,h6 {color:#d06600; font-family:Roboto, "Helvetica Neue", helvetica, arial, sans-serif; font-weight:normal; text-rendering:optimizelegibility;}

h1 {font-size:2rem; line-height:2.286rem;} /* 28px/32px */
h2 {font-size:1.714rem; line-height:2rem;} /* 24px/28px */
h3 {font-size:1.429rem; line-height:1.714rem;} /* 20px/24px */
h4 {font-size:1.286rem; line-height:1.571rem;} /* 18px/22px */
h5 {font-size:1rem; line-height:1.286rem;} /* 14px/18px */
h6 {font-size:1rem; line-height:1.286rem;} /* 14px/18px */

p {margin-top:1rem;}
p:first-child, h1 + p {margin-top:0.5rem;}

a, a:focus, a:link {color:#1971c4; text-decoration:none; outline:0;}
a:hover {color:#1c3d73;}
a:active {color:#1c3d73;}

@media screen and (max-width: 984px){
  #pageWrapper {width:98%; margin:1% auto;}

.pageBreadcrumbs {background:#e4e4e4; list-style:none; overflow:hidden; font-size:1.286rem; margin-bottom:1.429rem; -webkit-border-radius:0.2857rem; -moz-border-radius:0.2857rem; border-radius:0.2857rem;}
.pageBreadcrumbs .breadcrumbPage {float:left;}
.pageBreadcrumbs .breadcrumbPage a {color:#fff; text-decoration:none; padding:0.7143rem 0 0.7143rem 3.571rem;	background:#0195e7; position:relative; display:block; float:left;}
.pageBreadcrumbs .breadcrumbPage a:after {content:" ";	display:block; width:0; height:0; border-top:3.571rem solid transparent; border-bottom:3.571rem solid transparent; border-left:2.143rem solid #0195e7; position: absolute; top:50%; margin-top:-3.571rem; left:100%; z-index:2;}	
.pageBreadcrumbs .breadcrumbPage a:before {content:" "; display:block; width:0; height:0; border-top:3.571rem solid transparent; border-bottom:3.571rem solid transparent; border-left:2.143rem solid #006fac; position:absolute; top:50%; margin-top:-3.571rem; margin-left:0.07143rem; left:100%; z-index:1;}
.pageBreadcrumbs .breadcrumbPage a:hover {background:#006fac;}
.pageBreadcrumbs .breadcrumbPage a:hover:after {border-left:2.143rem solid #006fac;}
.pageBreadcrumbs .breadcrumbPageRoot a {padding-left:1.714rem;}
.pageBreadcrumbs .breadcrumbPageCurrent a {background:transparent; color:#333; pointer-events:none; cursor:default; padding-left:2.857rem;}
.pageBreadcrumbs .breadcrumbPageCurrent a:before, .pageBreadcrumbs .breadcrumbPageCurrent a:after {content:none;}

@media screen and (max-width: 984px){
	.pageBreadcrumbs {font-size:1rem;}
	.pageBreadcrumbs .breadcrumbPage  {float:none; display:inline-block; vertical-align:middle; padding:0.7143rem 0 0.7143rem 0;}
	.pageBreadcrumbs .breadcrumbPageRoot {padding:0.7143rem 0.3571rem 0.7143rem 0.3571rem;}
	.pageBreadcrumbs .breadcrumbPage a {display:inline; float:none; background:none; padding:0.7143rem 0.3571rem; border:none; color:#1971c4; text-decoration:none; outline:0;}
	.pageBreadcrumbs .breadcrumbPage a:hover, .pageBreadcrumbs .breadcrumbPage a:active {color:#1c3d73;}
	.pageBreadcrumbs .breadcrumbPage a:hover, .pageBreadcrumbs .breadcrumbPage a:hover:after {background:none; color:#333; border:none; text-decoration:underline;}
	.pageBreadcrumbs .breadcrumbPage a:before, .pageBreadcrumbs .breadcrumbPage a:after  {content:none;}
	.pageBreadcrumbs .breadcrumbPage:after {content:"\f125"; font-family:Ionicons; font-size:0.7143rem; font-style:normal; font-weight:normal; color:#ccc; margin-left:0.7143rem; border:none;}
	.pageBreadcrumbs .breadcrumbPageCurrent {padding:0.7143rem 0.3571rem 0.7143rem 0.3571rem;}
	.pageBreadcrumbs .breadcrumbPageCurrent a {color:#333;}
	.pageBreadcrumbs .breadcrumbPageCurrent:after {content:none;}