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.


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.


                <h1>WebDesignerDepot Pagination</h1>
<nav class="pagination-container">
		<div class="pagination">
				<a class="pagination-newer" href="#">PREV</a>
				<span class="pagination-inner">
					<a href="#">1</a>
					<a class="pagination-active" href="#">2</a>
					<a href="#">3</a>
					<a href="#">4</a>
					<a href="#">5</a>
					<a href="#">6</a>
				<a class="pagination-older" href="#">NEXT</a>


                @import url(,300)

	color #2c3e50
	font-family 'Roboto', sans-serif
	font-weight 400
	text-align center
	font-size 2.5rem
	font-weight 300
	margin 100px auto
	text-align center
	position relative
		position relative
		display inline-block
		color #2c3e50
		text-decoration none
		font-size 1.2rem
		padding 8px 16px 10px						
			z-index -1
			position absolute
			height 100%
			width 100%
			content ""
			top 0
			left 0
			background-color #2c3e50
			border-radius 24px
			transform scale(0)					
			transition all 0.2s
			color #fff
				transform scale(1)            
		color #fff
			transform scale(1)

	margin-right 50px
	margin-left 50px


                $('.pagination-inner a').on('click', function() {