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="pagination__wrapper">
  <ul class="pagination">
    <li><button class="prev" title="previous page">&#10094;</button></li>
    <li>
      <button title="first page - page 1">1</button>
    </li>
    <li>
      <span>...</span>
    </li>
    <li>
      <button title="page 8">8</button>
    </li>
    <li>
      <button class="active" title="current page - page 9">9</button>
    </li>
    <li>
      <button title="page 10">10</button>
    </li>
    <li>
      <span>...</span>
    </li>
    <li>
      <button title="last page - page 69">69</button>
    </li>
    <li><button class="next" title="next page">&#10095;</button></li>
  </ul>
</div>
            
          
!
            
              progress,sub,sup{vertical-align:baseline}button,hr,input{overflow:visible}html{font-family:sans-serif;line-height:1.15;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0} figcaption, menu,article,aside,details,figure,footer,header,main,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block}audio:not([controls]){display:none;height:0} [hidden],template{display:none}a{background-color:transparent;-webkit-text-decoration-skip:objects}a:active,a:hover{outline-width:0}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}dfn{font-style:italic}h1{font-size:2em;margin:.67em 0}mark{background-color:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}svg:not(:root){overflow:hidden}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}figure{margin:1em 40px}hr{box-sizing:content-box;height:0}button,input,optgroup,select,textarea{font:inherit;margin:0}optgroup{font-weight:700}button,input{}button,select{text-transform:none}[type=submit], [type=reset],button,html [type=button]{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:ButtonText dotted 1px}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-input-placeholder{color:inherit;opacity:.54}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}

$hoverDuration: 170ms;
$borderColor: rgba(0,0,0,.1);

html{
  height: 100%;
}

body{
  background: rgb(250,250,250);
  background: -moz-radial-gradient(center, ellipse cover,  rgba(250,250,250,1) 0%, rgba(221,221,221,1) 100%);
  background: -webkit-radial-gradient(center, ellipse cover,  rgba(250,250,250,1) 0%,rgba(221,221,221,1) 100%);
  background: radial-gradient(ellipse at center,  rgba(250,250,250,1) 0%,rgba(221,221,221,1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fafafa', endColorstr='#dddddd',GradientType=1 );
  font-family: "proxima-nova";
}

.clear{
  &:after,
  &:before{
    content: "";
    display: table;
  }
  &:after{
    clear: both;
  }
}

.pagination__wrapper{
  background: -moz-linear-gradient(left,  rgba(255,255,255,0) 0%, rgba(255,255,255,1) 17%, rgba(255,255,255,1) 83%, rgba(255,255,255,0) 100%);
  background: -webkit-linear-gradient(left,  rgba(255,255,255,0) 0%,rgba(255,255,255,1) 17%,rgba(255,255,255,1) 83%,rgba(255,255,255,0) 100%);
  background: linear-gradient(to right,  rgba(255,255,255,0) 0%,rgba(255,255,255,1) 17%,rgba(255,255,255,1) 83%,rgba(255,255,255,0) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#00ffffff',GradientType=1 );
  height: 50px;
  left: 50%;
  position: absolute;
  text-align: center;
  transform: translate(-50%,-50%);
  top: 50%;
  width: 700px;

  &:before,
  &:after{
    background: -moz-linear-gradient(left,  rgba(0,0,0,0) 0%, $borderColor 17%, $borderColor 83%, rgba(0,0,0,0) 100%);
    background: -webkit-linear-gradient(left,  rgba(0,0,0,0) 0%,$borderColor 17%,$borderColor 83%,rgba(0,0,0,0) 100%);
    background: linear-gradient(to right,  rgba(0,0,0,0) 0%,$borderColor 17%,$borderColor 83%,rgba(0,0,0,0) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#00000000',GradientType=1 );
    content: "";
    height: 1px;
    left: 0;
    position: absolute;;
    width: 100%;
  }

  &:before{
    top: -1px;
  }

  &:after{
    bottom: -1px;
  }
}

@keyframes hoverAnimation{
  from{
    opacity: 1;
  }
  to{
    opacity: 0;
  }
}

.pagination{
  display: inline-block;
  list-style: none;
  margin: 0;
  padding: 0;

  @extend .clear;

  li{
    //border-left: 1px solid rgba(0,0,0,.2);
    display: block;
    float: left;
    padding: 5px;

    &:first-child{
      border: none;
    }
  }

  button,
  span{
    background: none;
    border: none;
    border-radius: 50%;
    box-sizing: border-box;
    color: rgba(0,0,0,.6);
    display: block;
    font-size: 16px;
    height: 40px;
    line-height: 40px;
    min-width: 40px;
    padding: 0;
  }

  button{
    outline: none;
    position: relative;
    transition: all 170ms linear;

    &:before{
      background: rgba(0,0,0,.2);
      border-radius: 50%;
      content: "";
      cursor: pointer;
      height: 0;
      left: 50%;
      opacity: 0;
      position: absolute;
      transform: translate(-50%,-50%);
      transition: all $hoverDuration linear;
      top: 50%;
      width: 0;
    }

    &:hover:not(.active){
      color: rgba(0,0,0,1);

      &:before{
        animation: hoverAnimation ($hoverDuration * 3) linear forwards;
        height: 40px;
        width: 40px;
      }
    }

    &.active{
      background: rgba(0,0,0,.1);
      color: rgba(0,0,0,1);
    }
  }

  .prev,
  .next{
    font-size: 14px;
  }
}

/*
 * EMBED STYLING
*/
@media (max-width: 800px){
	html,
	body{
		height: 600px;
		overflow: hidden;
		width: 800px;
	}
}
            
          
!
999px
Loading ..................

Console