css Audio - Active file-generic CSS - Active Generic - Active HTML - Active JS - Active SVG - Active Text - Active file-generic Video - Active header Love html icon-new-collection icon-person icon-team numbered-list123 pop-out spinner split-screen star tv

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.

+ add another resource

You're using npm packages, so we've auto-selected Babel for you here, which we require to process imports and make it all work. If you need to use a different JavaScript preprocessor, remove the packages in the npm tab.

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

Use npm Packages

We can make npm packages available for you to use in your JavaScript. We use webpack to prepare them and make them available to import. We'll also process your JavaScript with Babel.

⚠️ This feature can only be used by logged in users.

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.

HTML Settings

Here you can Sed posuere consectetur est at lobortis. Donec ullamcorper nulla non metus auctor fringilla. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.

            
              
<!--SVG chevron definitions -->
<svg style="display:none">
<symbol id="icon-chevron-right" viewBox="0 0 1024 1024">
	<title>chevron-right</title>
	<path class="path1" d="M469.146 231.219c21.402 20.89 230.502 240.384 230.502 240.384 11.418 11.213 17.152 25.805 17.152 40.397s-5.734 29.184-17.152 40.294c0 0-209.101 219.597-230.502 240.384-21.402 20.89-59.904 22.323-82.688 0-22.835-22.221-24.627-53.299 0-80.589l191.846-200.090-191.846-200.090c-24.627-27.29-22.835-58.419 0-80.691 22.784-22.323 61.286-20.941 82.688 0z"></path>
</symbol>
  
  
<symbol id="icon-chevron-left" viewBox="0 0 1024 1024">
	<title>chevron-left</title>
	<path class="path1" d="M637.542 231.219c22.835 22.323 24.627 53.402 0 80.691l-191.846 200.090 191.846 200.090c24.627 27.29 22.835 58.419 0 80.589-22.784 22.323-61.286 20.89-82.688 0-21.402-20.787-230.502-240.384-230.502-240.384-11.418-11.11-17.152-25.702-17.152-40.294s5.734-29.184 17.152-40.397c0 0 209.101-219.494 230.502-240.384 21.402-20.941 59.904-22.323 82.688 0z"></path>
</symbol>
  

</svg>

<ul id="Pagination" class="clearfix pagination">
  <li class="btn-first btn-terminal">
    First
  </li>
  <li class="btn-left btn-direction">
    <svg class="icon icon-chevron-left"><use xlink:href="#icon-chevron-left"></use></svg>
    
  </li>
  <li class="btn-pages">
    <a href='#'>4</a><a href='#'>5</a><a href='#'>6</a><a href='#'>7</a><a href='#'>8</a>
  </li>
  <li class="btn-right btn-direction">
    <svg class="icon icon-chevron-right"><use xlink:href="#icon-chevron-right"></use></svg>
  </li>
  <li class="btn-last btn-terminal">
    Last
  </li>
</ul>



            
          
!
            
              @import url(https://fonts.googleapis.com/css?family=Open+Sans:400,800);
html{
  font-family: 'Open Sans', sans-serif;
  font-size: 10px;
  text-align:center;
}

svg{
  fill: currentColor;
}

ul.pagination{
  list-style-type:none;
  display:inline-block;
  position:relative;
  margin:auto;
  height: 28px;
  width: auto;
  border: 1px solid gray;
  font-size: 1.4rem;
  font-weight: 900;
  padding:0;
  color: #0092ce;
}

.pagination li{
  display:inline-block;
  float:left;
  height:100%;
  text-align:center;
  top:0;  left:0;
  margin:0;
  position:relative;
}

.pagination li:before{
  content: '';
  margin:4px;
  display:block;
}

.btn-terminal{
  width: 78px;
  transition: all 0.3s;
  cursor:pointer;
}
.btn-terminal:hover,
.btn-direction:hover{
  background:  #0092ce;
  color: white;
}

.pagination li svg{
  width: 20px;
  height: 20px;
}

.btn-direction{
  width: 41px;
  color: #b0b0b0;
  transition: all 0.2s;
  cursor: pointer;
}


.btn-pages a{
  color: inherit;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  display: inline-block;
  width: auto;
  text-align: right;
}

.btn-pages a:hover{
  color: #000;
  padding: 0 .3rem;
  font-size:1.6rem;
}



.btn-first, .btn-left{
  border-right:1px solid gray;
}
.btn-last, .btn-right{
  border-left:1px solid gray;
}


.btn-pages{
  padding: 0 2rem;
  letter-spacing: 1rem;
}
            
          
!
999px
🕑 One or more of the npm packages you are using needs to be built. You're the first person to ever need it! We're building it right now and your preview will start updating again when it's ready.
Loading ..................

Console