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.

            
              <div class="logo">
    <h1 class="title">23rd and Broad</h1>
  </div>
  
  <div class="nav">
    <ul>
      <li class="opt">Featured</li>
      <li class="opt">Artists</li>
      <li class="opt">Contact</li>
    </ul>
  </div>

<div class="title1">
  <h2>Featured Artists</h2>
</div>

<div class="slideshow-container">
  <div class="mySlides fade">
    <div class="numbertext">1 / 5</div>
    <img src="https://s20.postimg.org/4scuhyp5p/Full_Size_Render_1.jpg" style="width:100%">
    <div class="text">XFineroX</div>
  </div>

  <div class="mySlides fade">
    <div class="numbertext">2 / 5</div>
    <img src="https://s20.postimg.org/xfbrd1m2l/boocie.jpg" style="width:100%" "height:25%">
    <div class="text">Boocie</div>
  </div>

  <div class="mySlides fade">
    <div class="numbertext">3 / 5</div>
    <img src="https://s20.postimg.org/fiwdoy9nh/IMG-0725.jpg" style="width:100%">
    <div class="text">Yayo</div>
  </div>
  
  <div class="mySlides fade">
    <div class="numbertext">4 / 5</div>
    <img src="https://s20.postimg.org/yj0xm57wd/IMG-0740.jpg" style="width:100%">
    <div class="text"> Young Skrew</div>
  </div>
 
 <div class="title2">
   <a href="" target="_blank"> <h2 class="title2a">View All Artists</h2></a>
  </div>
 
            
          
!
            
              @import url('https://fonts.googleapis.com/css?family=Sedgwick+Ave+Display');

*{
  margin:0;
}
body{
  background-color:black;
}
.title{
  color:red;
  text-align:center;
  font-family: 'jb_hell', cursive;
  font-size:55px;
  text-shadow: 2px 2px 2px white;
  margin-top:0;
}
.opt{
  color:red;
  font-family: 'Sedgwick Ave Display', cursive;
  font-size:25px;
  text-decoration:none;
  text-align:center;
  display:inline;
  margin-left:50px;
  padding:11%;
}
.opt:hover{
  color:white;
  text-shadow: 1px 1px 1px red;
}
.title1{
  color:red;
  font-family: 'Sedgwick Ave Display', cursive;
  /*text-shadow: 2px 2px 2px white;*/
  margin-top:3%;
  font-size:55px;
  text-align:center;
    text-shadow: 2px 2px 2px white;
}
* {box-sizing:border-box}

/* Slideshow container */
.slideshow-container {
  width: 80%;
  position: relative;
  margin: auto;
}

/* Hide the images by default */
.mySlides {
    display: none;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

/* Caption text */
.text {
  color: red;
  font-family: 'Sedgwick Ave Display', cursive;
  font-size: 155px;
  padding: 8px 12px;
  position:absolute;
  bottom:50%;
  width: 100%;
  text-align: center;
  text-shadow: 5px 5px 2px black;
}

/* Number text (1/5 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  cursor:pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 3s;
  animation-name: fade;
  animation-duration: 3s;
}

@-webkit-keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}
.title2a{
  color:red; 
 text-align:center;
 animation:fader 5s infinite;
  font-family: 'Sedgwick Ave Display', cursive;
}
a .title2a{
  text-decoration:none;
}

@keyframes fader{
	0%{
		color:red;
	}
	25%{
		color:white;
	}
	50%{
		color:red;
	}
	75%{
		color:white;
	}
	100% {
		color:red;
	}
}
            
          
!
            
              var slideIndex = 0;
showSlides();

function showSlides() {
    var i;
    var slides = document.getElementsByClassName("mySlides");
    for (i = 0; i < slides.length; i++) {
        slides[i].style.display = "none"; 
    }
    slideIndex++;
    if (slideIndex > slides.length) {slideIndex = 1} 
    slides[slideIndex-1].style.display = "block"; 
    setTimeout(showSlides, 5000); // Change image every 5 seconds
}
            
          
!
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.

Console