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.

              <h1>Responsive Pagination</h1>
<h2>10 pages + Prev/Next Arrows</h2>

<nav data-pagination>
  <a href=# disabled><i class=ion-chevron-left></i></a>
    <li class=current><a href=#1>1</a>
    <li><a href=#2>2</a>
    <li><a href=#3>3</a>
    <li><a href=#4>4</a>
    <li><a href=#5>5</a>
    <li><a href=#6>6</a>
    <li><a href=#7>7</a>
    <li><a href=#8>8</a>
    <li><a href=#9>9</a>
    <li><a href=#10>…</a>
    <li><a href=#41>41</a>
  <a href=#2><i class=ion-chevron-right></i></a>
[data-pagination] *,
[data-pagination] *:before,
[data-pagination] *:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-kerning: auto;
[data-pagination] {
  font-size: 8pt;
  line-height: 1;
  font-weight: 400;
  font-family: 'Open Sans', 'Source Sans Pro', Roboto, 'HelveticaNeue-Light', 'Helvetica Neue Light', 'Helvetica Neue', 'Myriad Pro', 'Segoe UI', Myriad, Helvetica, 'Lucida Grande', 'DejaVu Sans Condensed', 'Liberation Sans', 'Nimbus Sans L', Tahoma, Geneva, Arial, sans-serif;
  -webkit-text-size-adjust: 100%;
  margin: 1em auto;
  text-align: center;
  transition: font-size .2s ease-in-out;
[data-pagination] ul {
  list-style-type: none;
  display: inline;
  font-size: 100%;
  margin: 0;
  padding: .5em;
[data-pagination] ul li {
  display: inline-block;
  font-size: 100%;
  width: auto;
  border-radius: 3px;
[data-pagination] > a {
  font-size: 140%;
[data-pagination] a {
  color: #777;
  font-size: 100%;
  padding: .5em;
[data-pagination] a:focus,
[data-pagination] a:hover {
  color: #f60;
[data-pagination] li.current {
  background: rgba(0,0,0,.1)
/* Disabled & Hidden Styles */
[data-pagination] .disabled,
[data-pagination] [hidden],
[data-pagination] [disabled] {
  opacity: .5;
  pointer-events: none;
@media (min-width: 350px) {
  [data-pagination] {
    font-size: 10pt;
@media (min-width: 500px) {
  [data-pagination] {
    font-size: 12pt;
@media (min-width: 700px) {
  [data-pagination] {
    font-size: 14pt;
@media (min-width: 900px) {
  [data-pagination] {
    font-size: 16pt;
Loading ..................