Pen Settings

HTML

CSS

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

JavaScript

Babel is required to process package imports. If you need a different preprocessor remove all packages first.

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

Behavior

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.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

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.

HTML

              
                
<div class="imgWrapper">
  <figure class="img1 sliderImage"><a href="http://www.expandyourelement.com "></a></figure>
  <figure class="img2 sliderImage"><a href="http://www.expandyourelement.com"></a></figure>
  <figure class="img3 sliderImage"><a href="http://www.expandyourelement.com"></a></figure>
  <figure class="img4 sliderImage"><a href="http://www.expandyourelement.com"></a></figure>
</div>


              
            
!

CSS

              
                /* Globals */

@import url("https://use.typekit.net/xjn0zbi.css");
body {background: #000000; font-family: "proxima-nova", verdana, san-serif; font-size: 1rem; font-style: normal; font-weight: 100;}
* {margin: 0; padding: 0; }
.contentWraper {position: relative;}
.imgWrapper {position: absolute; width: 100%; height: 100%; overflow: hidden; z-index: -1; }

figure {position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0;

  /* Animation */
  
  animation: slideShow 24s linear infinite 0s;
  -o-animation: slideShow 24s linear infinite 0s;
  -moz-animation: slideShow 24s linear infinite 0s;
  -webkit-animation: slideShow 24s linear infinite 0s;
}

 /* Images */

.img1 {opacity: 1; background: url(http://lois.securedserverspace.com/~expandyo/portfolio/strita/ScreenSaverImage_1.jpg) no-repeat center center; -webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; background-size: cover; }
.img2 {animation-delay: 6s; -o-animation-delay: 6s; -moz--animation-delay: 6s; -webkit-animation-delay: 6s; background: url(http://lois.securedserverspace.com/~expandyo/portfolio/strita/ScreenSaverImage_2.jpg) no-repeat center center; -webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; background-size: cover; }
.img3 {animation-delay: 12s; -o-animation-delay: 12s; -moz--animation-delay: 12s; -webkit-animation-delay: 12s; background: url(http://lois.securedserverspace.com/~expandyo/portfolio/strita/ScreenSaverImage_3.jpg) no-repeat center center; -webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; background-size: cover; }
.img4 {animation-delay: 18s; -o-animation-delay: 18s; -moz--animation-delay: 18s; -webkit-animation-delay: 18s; background: url(http://lois.securedserverspace.com/~expandyo/portfolio/strita/ScreenSaverImage_4.jpg) no-repeat center center; -webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; background-size: cover; }

 /* Keyframes */

@keyframes slideShow {  0% {opacity: 0; transform:scale(1); -ms-transform:scale(1); } 5% {opacity: 1 } 25% {opacity: 1; } 30% {opacity: 0; transform:scale(1.1); -ms-transform:scale(1.1); } 100% {opacity: 0; transform:scale(1); -ms-transformm:scale(1); } } @-o-keyframes slideShow {  0% {opacity: 0; -o-transform:scale(1); } 5% {opacity: 1 } 25% {opacity: 1; } 30% {opacity: 0; -o-transform:scale(1.1); } 100% {opacity: 0; -o-transformm:scale(1); } } @-moz-keyframes slideShow {  0% {opacity: 0; -moz-transform:scale(1); } 5% {opacity: 1 } 25% {opacity: 1; } 30% {opacity: 0; -moz-transform:scale(1.1); } 100% {opacity: 0; -moz-transformm:scale(1); } } @-webkit-keyframes slideShow {  0% {opacity: 0; -webkit-transform:scale(1); } 5% {opacity: 1 } 25% {opacity: 1; } 30% {opacity: 0; -webkit-transform:scale(1.1); } 100% {opacity: 0; -webkit-transformm:scale(1); } }

/* Logo and Button */

.contentWrapper {position:absolute; top:30%; left: 0; color:#fff; text-align:center; width: 100%; z-index: 999;}
h1 {text-transform: uppercase; font-size: 1.25em; font-weight: 100; background: rgba(0, 0, 0, .6); width: 320px; margin: 0 auto; line-height: 1.5em; padding: .25em; border-radius: .5em; border: 1px solid #ffffff;}

.sr-logo {display: block; width: 250px; margin: 0 auto 2em auto;}

/* Footer Typography */

.footerText {background: none; color: #fff; width: 100%; z-index: 1; position: absolute; bottom:10px; text-align: right; right: 10px;}

.sliderImage a {position: relative; top:0; left:0; width: 100%; height: 100%; display: block; z-index: 4000; curser: pointer;}
              
            
!

JS

              
                
              
            
!
999px

Console