Pen Settings

HTML

CSS

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

JavaScript

Babel is required to process package imports. If you need a different preprocessor remove all packages first.

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

Behavior

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.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

HTML Settings

Here you can Sed posuere consectetur est at lobortis. Donec ullamcorper nulla non metus auctor fringilla. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.

HTML

            
              .wrap
	h1 Pug mixin with microdata
	//- --------------------------- BEGIN --------------------------------
	mixin breadcrumb(levels)
		nav(aria-label="breadcrumb")
			ol.breadcrumb(vocab="https://schema.org/" typeof="BreadcrumbList")
				
				each level, index in levels

					//- Index is zero based
					- var count = index + 1

					li.breadcrumb-item(property="itemListElement" typeof="ListItem")
						a(href=level[1] property="item" typeof="WebPage" )
							span(property="name")=level[0]
						meta(property="position" content!=count)

	+breadcrumb([["Main", "index.html"],["News", "news.html"], ["Contacts", "contacts.html"]])
	//- --------------------------- END --------------------------------
            
          
!

CSS

            
              /* ------------------------------ VARIABLES AND SASS MIXINS ----------------------------- */
$default-font: 'Open Sans', sans-serif

$accent: #ffb74d
$link: #4a90e2
$link_hover: darken($link, 10%)
$accent_hover: darken($accent, 10%)

$text_color: #2f3640
$gray: #edeff0
$dark_gray: #b5bac1
$light_gray: #E5E5E5

@function rem($px)
	@return $px / 16px + 0rem
	@return $px

@mixin inline-block($va: top)
	display: inline-block
	vertical-align: $va
/* ------------------------------ VARIABLES AND SASS MIXINS ----------------------------- */



/* ------------------------------ BREADCRUMB BEGIN ------------------------------ */
.breadcrumb
	background: none
	padding: 0
	margin: 0
	&-item
		padding-right: rem(15px)
		& + &
			padding-left: 0
			&::before
				content: "→"
				color: $dark_gray
				font-size: rem(13px)
				line-height: rem(13px)
				display: inline-block
				padding-right: rem(15px)
				padding-top: rem(6px)
		a
			color: $dark_gray
			transition: .3s ease-in
			text-decoration: none
			&:hover, &:focus
				color: $accent
		&:last-child
			a
				pointer-events: none
				color: $text_color
/* ------------------------------ BREADCRUMB END ------------------------------ */


/* ------------------------------ ADDITIONAL STYLES ----------------------------- */
html
	font-size: 16px
	background: $gray
	font-family: $default-font
	height: 100%

body
	height: 100%
	display: flex
	background-color: $gray

h1
	font-size: 20px
	margin-bottom: 20px

.wrap
	width: 500px
	margin: auto
	border-radius: 4px
	background-color: #ffffff
	box-shadow: 0 1px 2px 0 #c9ced1
	padding: rem(20px)
/* ------------------------------ ADDITIONAL STYLES ----------------------------- */
            
          
!

JS

            
              $(document).ready(function() {
	 
	// ------------  BEGIN ------------ 

	// ------------  END ------------ 
	
});	
            
          
!
999px

Console