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.

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

              
                .container
	.row
		.col-xs-12
			ul.list-group
				li.list-group-item
					h1 Pagination 
						small default 
					nav.text-center
						ul.pagination(role="navigation")
							li(role="presentation")
								a(role="button", href="#", aria-label="Previous")
									i.fa.fa-chevron-left(aria-hidden="true")
									span.sr-only previous
							- for (i = 1; i <= 10; i += 1)
								li(role="presentation")
									a(role="button", href="#", aria-label="Page #{i}") #{i}
							li(role="presentation")
								a(role="button", href="#", aria-label="Next")
									i.fa.fa-chevron-right(aria-hidden="true")
									span.sr-only next
				li.list-group-item
					h1 Pagination 
						small active state
					nav.text-center
						ul.pagination(role="navigation")
							li(role="presentation")
								a(role="button", href="#", aria-label="Previous")
									i.fa.fa-chevron-left(aria-hidden="true")
									span.sr-only previous
							- for (i = 1; i <= 10; i += 1)
								if i == 1
									li.active(role="presentation")
										a(role="button", href="#", aria-label="Page #{i}") #{i}
								else
									li(role="presentation")
										a(role="button", href="#", aria-label="Page #{i}") #{i}
							li(role="presentation")
								a(role="button", href="#", aria-label="Next")
									i.fa.fa-chevron-right(aria-hidden="true")
									span.sr-only next
				li.list-group-item
					h1 Pagination 
						small disabled state
					nav.text-center
						ul.pagination(role="navigation")
							li.disabled(role="presentation")
								a(role="button", href="#", aria-label="Previous")
									i.fa.fa-chevron-left(aria-hidden="true")
									span.sr-only previous
							- for (i = 1; i <= 10; i += 1)
								if i == 1
									li.active(role="presentation")
										a(role="button", href="#", aria-label="Page #{i}") #{i}
								else
									li(role="presentation")
										a(role="button", href="#", aria-label="Page #{i}") #{i}
							li(role="presentation")
								a(role="button", href="#", aria-label="Next")
									i.fa.fa-chevron-right(aria-hidden="true")
									span.sr-only next
				li.list-group-item
					h1 Pagination 
						small small size
					nav.text-center
						ul.pagination.pagination-sm(role="navigation")
							li.disabled(role="presentation")
								a(role="button", href="#", aria-label="Previous")
									i.fa.fa-chevron-left(aria-hidden="true")
									span.sr-only previous
							- for (i = 1; i <= 10; i += 1)
								if i == 1
									li.active(role="presentation")
										a(role="button", href="#", aria-label="Page #{i}") #{i}
								else
									li(role="presentation")
										a(role="button", href="#", aria-label="Page #{i}") #{i}
							li(role="presentation")
								a(role="button", href="#", aria-label="Next")
									i.fa.fa-chevron-right(aria-hidden="true")
									span.sr-only next
				li.list-group-item
					h1 Pagination 
						small large size
					nav.text-center
						ul.pagination.pagination-lg(role="navigation")
							li.disabled(role="presentation")
								a(role="button", href="#", aria-label="Previous")
									i.fa.fa-chevron-left(aria-hidden="true")
									span.sr-only previous
							- for (i = 1; i <= 10; i += 1)
								if i == 1
									li.active(role="presentation")
										a(role="button", href="#", aria-label="Page #{i}") #{i}
								else
									li(role="presentation")
										a(role="button", href="#", aria-label="Page #{i}") #{i}
							li(role="presentation")
								a(role="button", href="#", aria-label="Next")
									i.fa.fa-chevron-right(aria-hidden="true")
									span.sr-only next
				li.list-group-item
					h1 Pager 
						small default
					nav.text-center
						ul.pager(role="navigation")
							li(role="presentation")
								a(role="button", href="#", aria-label="Previous")
									span(aria-hidden="true") Previous
							li(role="presentation")
								a(role="button", href="#", aria-label="Next")
									span(aria-hidden="true") Next
				li.list-group-item
					h1 Pager 
						small side alignment
					nav.text-center
						ul.pager(role="navigation")
							li.previous(role="presentation")
								a(role="button", href="#", aria-label="Previous")
									span(aria-hidden="true") Previous
							li.next(role="presentation")
								a(role="button", href="#", aria-label="Next")
									span(aria-hidden="true") Next
				li.list-group-item
					h1 Pager 
						small disabled state
					nav.text-center
						ul.pager(role="navigation")
							li.previous.disabled(role="presentation")
								a(role="button", href="#", aria-label="Previous")
									span(aria-hidden="true") Previous
							li.next(role="presentation")
								a(role="button", href="#", aria-label="Next")
									span(aria-hidden="true") Next
div [[[https://codepen.io/quickstep25/pen/a514c17328f3934693114fa710479d5a]]]
              
            
!

CSS

              
                // STYLES FOR DEMO ONLY
html {
	background-color: #f8f8f8;
}
body {
	background-color: #fff;
	margin-top: 15px;
	text-align: center;
}
footer#dhts {
	position: relative;
}
              
            
!

JS

              
                
              
            
!
999px

Console