cssAudio - Activefile-genericCSS - ActiveGeneric - ActiveHTML - ActiveImage - ActiveJS - ActiveSVG - ActiveText - Activefile-genericVideo - ActiveLovehtmlicon-new-collectionicon-personicon-teamlog-outoctocatpop-outspinnerstartv

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.

Quick-add: + add another resource

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.

Quick-add: + add another resource

Code Indentation


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.

              <div class="header-pen">
  <a href="http://www.dropinks.com/gooey-effect-in-pagination/">Gooey effect in pagination using SVG</a></div>

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

<svg xmlns="http://www.w3.org/2000/svg" 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>

<div class="footer-pen"> For more animations: 
  <a href="http://www.dropinks.com" target="_blank">www.dropinks.com</a>&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;Like us on:<a href="https://www.facebook.com/dropinksblog" target="_blank">Facebook</a>&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;Follow us on:<a href="https://twitter.com/dropinksblog" target="_blank">Twitter</a></div>
              .header-pen{text-align: center; margin-top: 10px;}
.header-pen a{ font-size: 35px; color: #fff;  font-style: italic; text-decoration: none; border-bottom: 1px solid #fff;}
.footer-pen{position: fixed; bottom: 0px; left: 0px; width: 100%; padding: 10px 0px; background: #fff; text-align: center; font-size: 18px; color: #333;}
.footer-pen a{color: #000000;}

body{margin:0; background: #e95b4d; }

.container{position: absolute; left: 50%; margin-top: 20px;transform: translate(-50%, 0%);}

.fltr{filter: url("#gooey");-webkit-filter: url("#gooey");-moz-filter: url("#gooey");  margin-top: 50px;     left: 50%;
    position: fixed;
    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-family: sans-serif;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);} 

              $(".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");

Loading ..................