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="extra-slider">
  <div class="wrapper">
    <ul>

      <li style="background-image: url(https://slider.extralagence.com//sliders/img/fullscreen/img1.jpg);">
        <p>By&nbsp;<a href="https://unsplash.com/erichuang78910">Eric Huang</a></p>
      </li>
      <li style="background-image: url(https://slider.extralagence.com//sliders/img/fullscreen/img2.jpg);">
        <p>By&nbsp;<a href="https://unsplash.com/thata7guy">Joseph Barrientos</a></p>
      </li>
      <li style="background-image: url(https://slider.extralagence.com//sliders/img/fullscreen/img3.jpg);">
        <p>By&nbsp;<a href="https://unsplash.com/pjrvs">Paul Jarvis</a></p>
      </li>
      <li style="background-image: url(https://slider.extralagence.com//sliders/img/fullscreen/img4.jpg);">
        <p>By&nbsp;<a href="https://unsplash.com/erondu">Jared Erondu</a></p>
      </li>
      <li style="background-image: url(https://slider.extralagence.com//sliders/img/fullscreen/img5.jpg);">
        <p>By&nbsp;<a href="https://unsplash.com/fritzbielmeier">Fritz Bielmeier</a></p>
      </li>
      <li style="background-image: url(https://slider.extralagence.com//sliders/img/fullscreen/img6.jpg);">
        <p>By&nbsp;<a href="https://unsplash.com/sgabriel">Sebastien Gabriel</a></p>
      </li>
    </ul>
  </div>
  <div class="navigation">
    <a href="#" class="prev">Previous</a>
    <a href="#" class="next">Next</a>
  </div>
  <div class="pagination"></div>
</div>
            
          
!
            
              body {
  padding: 50px 0;
}
/*********************
 *
 * DEFAULT STYLES
 *
 ********************/
.extra-slider {
	margin: auto;
	width: 900px;
	max-width: 100%;
}
img {
	display: block;
}
/*********************
 *
 * NAVIGATION
 *
 ********************/
.extra-slider .navigation {
	position: static;
}
.extra-slider .navigation a {
	background: #FFFFFF none center center no-repeat;
	background-size: 15px 20px;
	border: 1px solid #dddddd;
	display: block;
	-webkit-border-radius: 35px;
	border-radius: 35px;
	overflow: hidden;
	margin-top: -35px;
	position: absolute;
	top: 50%;
	z-index: 50;
	text-indent: 100%;
	white-space: nowrap;
	width: 70px;
	height: 70px;
}
.extra-slider .navigation a:hover {
	background-color: #fff799;
}
.extra-slider .navigation .prev {
	background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAAcCAMAAABbGh8VAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAvVBMVEUAAAAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAAAADXuIvaAAAAPXRSTlMALrsWMuzWGTfv2R088b9B9N0fR/XYG0z41RhS+c8VWPvMEl78xg9jwg1p/r0KcLh3swd5sQZztwlrvGX9RwaDgwAAAAFiS0dEAIgFHUgAAAAJcEhZcwAACxIAAAsSAdLdfvwAAACdSURBVCjPbdJXDsJADATQpdfQews9oYTeg+9/LYSNvA7yfD5pJXu8xsjE4gkTTTIF6UxEsjkAyBeEFB34pmSlXEGp1ljqDZRmi6XdQen2WPoDlOGIxR2jTKYssznKYsnikfgrlvUGZRuw7Ej2Vg4IcDzZoc9El6tY7UYP7w9hT7JXICx8/w+hjaotpK2tlaNVqBWtnUM7mnba3wf4AGFkJ/RhcoelAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDE0LTAzLTE0VDE3OjUzOjQzKzAxOjAwoRtOzwAAACV0RVh0ZGF0ZTptb2RpZnkAMjAxNC0wMy0xNFQxNzo1Mzo0MyswMTowMNBG9nMAAAAASUVORK5CYII=');
	left: -35px;
}
.extra-slider .navigation .next {
	background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAAeBAMAAAA84DghAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAHlBMVEUAAAAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAAAADxwc6qAAAACHRSTlMAA6ChR/5vbiOi6p0AAAABYktHRACIBR1IAAAACXBIWXMAAAsSAAALEgHS3X78AAAATElEQVQY02NgYBRggAEhRRiLUaMJJizc0QETdu3ogAmzRSCEU+kjXNrR0QxhsgMVGFJFMBUuyIYQdIULgjxvCAsSC5ggUBgmyIAIPgDftSz9jAO8HAAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAxNC0wMy0xNFQxNzo1Mzo1MCswMTowMFxZVMwAAAAldEVYdGRhdGU6bW9kaWZ5ADIwMTQtMDMtMTRUMTc6NTM6NTArMDE6MDAtBOxwAAAAAElFTkSuQmCC');
	right: -35px;
}
/*********************
 *
 * PAGINATION
 *
 ********************/

.extra-slider .pagination {
	margin: 0 0 0 0;
	position: absolute;
	left: 50%;
	bottom: 6px;
	text-align: center;
	z-index: 50;
	width: auto;
}
.extra-slider .pagination a {
	background: #FFFFFF;
	border: 2px solid transparent;
	color: transparent;
	display: inline-block;
	margin: 0 4px;
	text-indent: 100%;
	white-space: nowrap;
	position: relative;
	left: -50%;
	width: 12px;
	height: 12px;
	-webkit-border-radius: 20px;
	border-radius: 20px;
}
.extra-slider .pagination a.extra-slider-link-active {
	background-color: #fff799;
}
.extra-slider .pagination a:hover {
	border-color: #303030;
}
/*********************
 *
 * CONTENT
 *
 ********************/

.extra-slider ul {
	margin: auto;
	max-width: 900px;
}
.extra-slider li {
	margin: auto;
  width: 100%;
}
.extra-slider li img {
	max-width: 100%;
	height: auto;
}
.extra-slider li p {
	color: #FFFFFF;
	font-size: 12px;
	font-family: Georgia, serif;
	font-style: italic;
	margin: 0;
	position: absolute;
	right: 10px;
	bottom: 5px;
	text-align: right;
}
.extra-slider li p a {
	color: #fff799;
	background: transparent;
	text-decoration: none;
}
.extra-slider li p a:hover {
	color: #fff799;
	background: transparent;
	text-decoration: underline;
}
/*********************
 *
 * RESPONSIVE
 *
 ********************/
@media only screen and (max-width: 960px) {
	.extra-slider .navigation a {
		background-size: 20%;
		margin-top: -20px;
		width: 40px;
		height: 40px;
	}
	.extra-slider .navigation a.next {
		right: 20px;
	}
	.extra-slider .navigation a.prev {
		left: 20px;
	}
	#margin .navigation a.next {
		margin-left: auto;
	}
	#margin .navigation a.prev {
		left: 20px;
		margin-left: auto;
	}
}
@media only screen and (max-width: 650px){
	.extra-slider .pagination {
		display: none;
	}
}
/*********************
 *
 * FULLSCREEN
 *
 ********************/
.extra-slider {
	margin: 0;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 1;
	width: 100vw;
	height: 100vh;
}
.extra-slider:before {
	background: linear-gradient(to bottom, rgba(0,0,0,0.40) 0%,rgba(0,0,0,0) 100%);
	content: "";
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 20;
	width: 100%;
	height: 30vh;
}
.extra-slider .wrapper,
.extra-slider ul,
.extra-slider li {
	width: 100%;
	height: 100%;
	max-width: none;
}
.extra-slider li {
	background: transparent none center center no-repeat;
	background-size: cover;
}
.extra-slider .navigation a,
#wrapper > .navigation li a {
	background-color: rgba(255, 255, 255, 0.75);
}
.extra-slider .navigation .prev {
	margin: 0 0 0 -70px;
	top: auto;
	bottom: 10px;
	left: 50%;
	-webkit-transform: rotate(90deg);
	-ms-transform: rotate(90deg);
	transform: rotate(90deg);

}
.extra-slider .navigation .next {
	margin: 0 0 0 70px;
	top: auto;
	bottom: 10px;
	left: 50%;
	-webkit-transform: rotate(90deg);
	-ms-transform: rotate(90deg);
	transform: rotate(90deg);
}
.extra-slider .pagination {
	top: 50%;
	left: auto;
	right: 6px;
}
.extra-slider .pagination a {
	display: block;
	margin: 4px 0;
}
            
          
!
            
              $(document).ready(function() {
  $(".extra-slider").extraSlider({
    'direction': 'y',
    'draggable': true,
    'keyboard': true
  });

});
            
          
!
999px
Loading ..................

Console