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.


                <div class="demoContainer">
  <div class="projHeader">
    <div class="primaryText">Gooey Pagination in SVG</div>
    <div class="createdBy">Created By <a href="">Dropinks</a></div>
    <p class="message">For Better usability and interaction use web browsers - chrome, firefox</p>

<div class="fltr">
  <span class="from-move" id="from-move"></span>
  <ul class="page-list" id="page-list">
    <li class="active"></li>

<svg xmlns="" version="1.1" class="svg-flt">
    <filter id="gooey">
      <feGaussianBlur in="SourceGraphic" stdDeviation="10" result="blur"></feGaussianBlur>
      <feColorMatrix in="blur" mode="matrix" values="1 0 0 0 0  0 1 0 0 0  0 0 1 0 0  0 0 0 19 -9" result="goo"></feColorMatrix>
      <feComposite in="SourceGraphic" in2="goo" operator="atop"></feComposite>



body{background: #333; font-family: poppins;}
.container{ margin-top: 20px;}

.fltr{filter: url("#gooey");-webkit-filter: url("#gooey");-moz-filter: url("#gooey");  margin-top: 30px;     left: 50%;
    position: absolute;
    transform: translateX(-50%);}

.page-list{margin: 0; border-radius: 30px; display: inline-block; padding: 0px 0px; position: relative; z-index: 2;}
.page-list li{background: #fff;border-radius: 50%;margin: 0px 15px; counter-increment: list;cursor: pointer; position: relative;z-index: 2;width: 41px; height: 41px; line-height: 41px; display: inline-block; text-align: center; color: #111;    font-size: 20px;}
.page-list li:after{content: "";content: counter(list);}

.from-move{content: "";position: absolute; left: 7px; top: -7px; border-radius: 50%; z-index: 1;width: 55px; height: 55px;  display: inline-block; transition: all 0.5s ease;background: #ffffff;}

.svg-flt{position: absolute;}

.from-move.animate{animation: page-move 0.5s ease 0s forwards;}
@keyframes page-move {
	0%{ transform: scale(1,1);} 
	20%{ transform: scale(1,0.5);} 
	40%{ transform: scale(1,0.5);} 
	100%{ transform: scale(1,1);} 

li.animate-right{animation: li-move-right 0.7s ease 0s forwards;}
@keyframes li-move-right {
	0%{ transform: translateX(0px);} 
	20%{ transform: translateX(20px);} 
	40%{ transform: translateX(-10px);} 
	60%{ transform: translateX(5px);} 
	80%{ transform: translateX(0px);} 
	100%{ transform: translateX(0px);} 
li.animate-left{animation: li-move-left 0.7s ease 0s forwards;}
@keyframes li-move-left {
	0%{ transform: translateX(0px);} 
	20%{ transform: translateX(-20px);} 
	40%{ transform: translateX(10px);} 
	60%{ transform: translateX(-5px);} 
	80%{ transform: translateX(0px);} 
	100%{ transform: translateX(0px);} 

	font-weight: 300;
	font-size: 50px;
	text-shadow: 2px 2px 1px rgba(0,0,0,0.3);
	font-weight: 300;
	font-size: 25px;
.createdBy {
    font-weight: 300;
    font-size: 17px;
    margin-top: 10px;
.createdBy a{
    color: #333;
    font-weight: 500;
.message {
    background: rgba(255, 255, 255, 0.31);
    padding: 10px;
    display: inline-block;
    text-align: center;
    color: #000;
    margin: 25px 0;
    font-size: 13px;
    box-shadow: 2px 2px 0px 1px rgba(0,0,0,0.2);
    border-radius: 4px;
	text-align: center;
.projHeader, .createdBy a, .message{color: #fff;}
.message{background: rgba(255, 255, 255, 0.1);}


                $(".page-list li").click(function(){
	var delay = 0.05, init=1;
	var li_ind = $(this).index();
	var li_ind_prev = $(".active").index();
	var li_length = $(this).length;
	var li_diff = li_ind - $(".active").index();
	var dur = Math.abs(li_diff)
	var left_pos = $(this).position().left+7;
		for(i = li_ind_prev; i<li_ind;i++){
			dur = delay*init;
			init = init+1;
		for(i = li_ind_prev; i>li_ind;i--){
			dur = delay*init;
			init = init+1;

	$("#page-list li").removeClass("active");

	$("#from-move").bind("webkitTransitionEnd otransitionend oTransitionEnd msTransitionEnd transitionend", function(){
		$("#from-move").unbind("webkitTransitionEnd otransitionend oTransitionEnd msTransitionEnd transitionend");
	$(".page-list li").bind("animationend webkitAnimationEnd oAnimationEnd MSAnimationEnd", function(){
		$(".page-list li").removeClass("animate-right").removeAttr("style");
		$(".page-list li").removeClass("animate-left").removeAttr("style");
		$("#page-list li").unbind("animationend webkitAnimationEnd oAnimationEnd MSAnimationEnd");