Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URLs added here will be added as <link>s in order, and before the CSS in the editor. You can use the CSS from another Pen by using its URL and the proper URL extension.

+ add another resource

JavaScript

Babel includes JSX processing.

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

Packages

Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.

Behavior

Auto Save

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

              
                
<div class="site-main">
<div class="site-content">
<article class="halves row-width--full">
    <div class="halves__inner row-width">
        <div class="halves__media">
            <div class="stripe-slider js-stripe-slider">
                <div class="stripe-slider__slide js-stripe-slider__slide active" role="image" aria-label="Placeholder Image"></div>
                <div class="stripe-slider__slide js-stripe-slider__slide" role="image" aria-label="Placeholder Image"></div>
                <div class="stripe-slider__slide js-stripe-slider__slide" role="image" aria-label="Placeholder Image"></div>
                <div class="stripe-slider__slide js-stripe-slider__slide" role="image" aria-label="Placeholder Image"></div>
                <div class="stripe-slider__slide js-stripe-slider__slide" role="image" aria-label="Placeholder Image"></div>
                <div class="stripe-slider__slide js-stripe-slider__slide" role="image" aria-label="Placeholder Image"></div>
                <div class="stripe-slider__nav">
                    <a href="javascript:void(0)" class="stripe-slider__page js-stripe-slider__page" aria-label="See slide 1"></a>
                    <a href="javascript:void(0)" class="stripe-slider__page js-stripe-slider__page" aria-label="See slide 2"></a>
                    <a href="javascript:void(0)" class="stripe-slider__page js-stripe-slider__page" aria-label="See slide 3"></a>
                    <a href="javascript:void(0)" class="stripe-slider__page js-stripe-slider__page" aria-label="See slide 4"></a>
                    <a href="javascript:void(0)" class="stripe-slider__page js-stripe-slider__page" aria-label="See slide 5"></a>
                    <a href="javascript:void(0)" class="stripe-slider__page js-stripe-slider__page" aria-label="See slide 6"></a>
                    <a href="javascript:void(0)" class="stripe-slider__prev js-stripe-slider__prev" aria-label="Previous Slide"></a>
                    <a href="javascript:void(0)" class="stripe-slider__next js-stripe-slider__next" aria-label="Next Slide"></a>
                </div>
            </div>
        </div>
        <div class="halves__text">
            <h1>Project Title</h1>
            <p>Lorem ipsum dolor sit amet conectetur adpiscing, elit quam bibendum feugiat leo, sollicitudin pretiu m metus morbi nibh. Sem himenaeos lectus sociis sit nibh natoque semper nunc bibendum, sceleri sque duis erat congue ultricies aliquam facilisi port.</p>
            <h2>Project Highlights</h2>
            <ul>
                <li>Ipsum dolor sit amet.</li>
                <li>Lorem ipsum dolor sit amet consec tetur.</li>
                <li>Dolor sit amet consec tetur.</li>
            </ul>
            <h2>Services Involved</h2>
            <ul>
                <li>Ipsum dolor sit amet.</li>
                <li>Lorem ipsum dolor sit amet consec tetur.</li>
                <li>Dolor sit amet consec tetur.</li>
            </ul>
        </div>
    </div>
</article>
</div>
</div>

              
            
!

CSS

              
                // variables
$font-size:             16;
$pad:                   30/$font-size * 1em; // 30px given base font size
$gap:                   $pad;
$gap--big:              $gap*4;
$gap--baby:             $gap*2;
$color-1:               #B8C5D0;
$color-1--light:        #EEF2F6;
$color-1--dark:         #89969F;
$color-light:           #fff;
$color-dark:            #000;

// halves block
.halves {
    h1 {
        font-size: 1.875em;
    }
    h2 {
        font-size: 1.25em;
    }
    &__inner{
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    &__media,
    &__text {
        width: 50%;
        @media screen and (max-width: 960px) {
            width: 100%;
        }
    }
    &__media {
        max-width: 690px;
    }
    &__text {
        padding: $gap*2;
    }
}

// stripe-slider block
.stripe-slider {
    $stripe-slider__speed: 800ms;
    $stripe-slider__width: 5.7%; // fuzzy...
    $stripe-slider__direction: "up"; // "up" || "down"
    overflow: hidden;
    position: relative;
    padding-bottom: 65.218%; // about 450px tall at desktop
    &:before,
    &:after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        height: 201%;
        z-index: 1;
        width: 100%;
        background-image:
            linear-gradient(to top, $color-1--light 0%, $color-1--light 100%),
            linear-gradient(to top, $color-1--light 0%, $color-1--light 100%),
            linear-gradient(to top, $color-1--light 0%, $color-1--light 100%),
            linear-gradient(to top, $color-1--light 0%, $color-1--light 100%),
            linear-gradient(to top, $color-1--light 0%, $color-1--light 100%),
            linear-gradient(to top, $color-1--light 0%, $color-1--light 100%),
            linear-gradient(to top, $color-1--light 0%, $color-1--light 100%),
            linear-gradient(to top, $color-1--light 0%, $color-1--light 100%),
            linear-gradient(to top, $color-1--light 0%, $color-1--light 100%),
            linear-gradient(to top, $color-1--light 0%, $color-1--light 100%),
            linear-gradient(to top, $color-1--light 0%, $color-1--light 100%),
            linear-gradient(to top, $color-1--light 0%, $color-1--light 100%),
            linear-gradient(to top, $color-1--light 0%, $color-1--light 100%),
            linear-gradient(to top, $color-1--light 0%, $color-1--light 100%),
            linear-gradient(to top, $color-1--light 0%, $color-1--light 100%),
            linear-gradient(to top, $color-1--light 0%, $color-1--light 100%),
            linear-gradient(to top, $color-1--light 0%, $color-1--light 100%),
            linear-gradient(to top, $color-1--light 0%, $color-1--light 100%),
            linear-gradient(to top, $color-1--light 0%, $color-1--light 100%),
        ;
        background-repeat: no-repeat space;
        background-size:
            $stripe-slider__width 65%,
            $stripe-slider__width 75%,
            $stripe-slider__width 95%,
            $stripe-slider__width 90%,
            $stripe-slider__width 60%,
            $stripe-slider__width 85%,
            $stripe-slider__width 90%,
            $stripe-slider__width 70%,
            $stripe-slider__width 55%,
            $stripe-slider__width 95%,
            $stripe-slider__width 80%,
            $stripe-slider__width 70%,
            $stripe-slider__width 90%,
            $stripe-slider__width 55%,
            $stripe-slider__width 90%,
            $stripe-slider__width 75%,
            $stripe-slider__width 95%,
            $stripe-slider__width 90%,
            $stripe-slider__width 70%,
        ;
    }
    &:before {
        background-position:
            $stripe-slider__width*0 bottom,
            $stripe-slider__width*1 bottom,
            $stripe-slider__width*2 bottom,
            $stripe-slider__width*3 bottom,
            $stripe-slider__width*4 bottom,
            $stripe-slider__width*5 bottom,
            $stripe-slider__width*6 bottom,
            $stripe-slider__width*7 bottom,
            $stripe-slider__width*8 bottom,
            $stripe-slider__width*9 bottom,
            $stripe-slider__width*10 bottom,
            $stripe-slider__width*11 bottom,
            $stripe-slider__width*12 bottom,
            $stripe-slider__width*13 bottom,
            $stripe-slider__width*14 bottom,
            $stripe-slider__width*15 bottom,
            $stripe-slider__width*16 bottom,
            $stripe-slider__width*17 bottom,
            $stripe-slider__width*18 bottom,
        ;
        transform: translateY(50%);
        @if $stripe-slider__direction == 'down' {
            transition: transform $stripe-slider__speed;
        }
    }
    &:after {
        background-position:
            $stripe-slider__width*0 top,
            $stripe-slider__width*1 top,
            $stripe-slider__width*2 top,
            $stripe-slider__width*3 top,
            $stripe-slider__width*4 top,
            $stripe-slider__width*5 top,
            $stripe-slider__width*6 top,
            $stripe-slider__width*7 top,
            $stripe-slider__width*8 top,
            $stripe-slider__width*9 top,
            $stripe-slider__width*10 top,
            $stripe-slider__width*11 top,
            $stripe-slider__width*12 top,
            $stripe-slider__width*13 top,
            $stripe-slider__width*14 top,
            $stripe-slider__width*15 top,
            $stripe-slider__width*16 top,
            $stripe-slider__width*17 top,
            $stripe-slider__width*18 top,
        ;
        transform: translateY(-100%);
        @if $stripe-slider__direction == 'up' {
            transition: transform $stripe-slider__speed;
        }
    }
    // &, /*DEBUG*/
    &.going {
        &:before {
            transform: translateY(-50%);
            @if $stripe-slider__direction == 'down' {
                transition: transform 0ms $stripe-slider__speed*.9; 
            } @else if $stripe-slider__direction == 'up' {
                transition: transform $stripe-slider__speed; 
            }
        }
        &:after {
            transform: translateY(0%);
            @if $stripe-slider__direction == 'down' {
                transition: transform $stripe-slider__speed; 
            } @else if $stripe-slider__direction == 'up' {
                transition: transform 0ms $stripe-slider__speed*.9; 
            }
        }
    }
    &__slide {
        overflow: hidden;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-size: cover;
        opacity: 0;
        transition: opacity 0s $stripe-slider__speed;
        &.active {
            opacity: 1;
        }
    }
    &__nav {
        display: flex;
        align-items: flex-end;
        justify-content: flex-end;
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        top: 0;
        z-index: 10;
        .stripe-slider.going & {
            pointer-events: none;
        }
    }
    &__prev,
    &__next,
    &__page {
        display: block;
        margin-left: 5px;
        width: $stripe-slider__width;
        height: $stripe-slider__width*2;
        background-color: $color-1--light;
        background-image: none;
        transition: $stripe-slider__speed*.5;
        &:nth-child(even){
            transform: translateY(1em);
        }
        &:nth-child(odd){
            transform: translateY(1.5em);
        }
        &:nth-last-child(2),
        &:nth-last-child(5),
        &:nth-last-child(8){
            transform: translateY(1.25em);
        }
        &:hover {
            transform: translateY(.25em);
        }
        &.active {
            transform: translateY(0);
            pointer-events: none;
        }
        .stripe-slider.going & {
            background-color: darken($color-1--light, 7%);
        }
    }
    &__prev,
    &__next {
        display: flex;
        align-items: center;
        justify-content: center;
        &:link {
            transform: translateY(.25em);
            text-decoration: none;
        }
        &:focus,
        &:hover {
            transform: translateY(0);
        }
        &:before {
            content: "";
            width: 1em;
            height: 1em;
            border: 0 solid $color-1;
            border-width: 2px 2px 0 0;
            transform: rotate(45deg);
        }
    }
    &__prev {
        margin-left: 15px;
        &:before {
            transform: rotate(225deg);
        }
    }
}

// base styles from site
html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;background-color:#EEF2F6}img{max-width:100%;height:auto}body{margin:0}*,*:before,*:after{box-sizing:border-box}img{border:0}svg:not(:root){overflow:hidden}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible}button,select{text-transform:none}button,html input[type="button"],input[type="reset"],input[type="submit"]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input[type="checkbox"],input[type="radio"]{box-sizing:border-box;padding:0}input[type="number"]::-webkit-inner-spin-button,input[type="number"]::-webkit-outer-spin-button{height:auto}input[type="search"]{-webkit-appearance:textfield;box-sizing:content-box}input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none}fieldset{border:1px solid #c0c0c0;margin:0 2px;padding:0.35em 0.625em 0.75em}legend{border:0;padding:0}textarea{overflow:auto}optgroup{font-weight:bold}figure{margin:1em 40px}hr{box-sizing:content-box;height:1px;background-color:#B8C5D0;border:0}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace, monospace;font-size:1em}article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background-color:transparent;background-repeat:no-repeat;background-size:0 100%;background-image:linear-gradient(to right, #89969F, #89969F);color:#000;transition:background-size 300ms, color 300ms}a:active,a:hover{outline:0;background-size:100% 100%;color:#fff}ul,ol{margin:.2em 0 1em;padding:0 0 0 1em}ul li,ol li{padding-left:0;margin:0 0 0.5em}ul li{position:relative;list-style-type:circle}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}:root{font-family:"Montserrat",sans-serif;font-size:16px;font-weight:300;line-height:1.65;color:#89969F}p{margin-top:0}p:last-child{margin-bottom:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:700}dfn{font-style:italic}h1,.h1,h2,.h2,h3,.h3,blockquote,h4,.h4,h5,.h5,h6,.h6{margin:1.25em 0 .4em;font-weight:normal;font-family:"Michroma",sans-serif;line-height:1.1}h1 strong,.h1 strong,h2 strong,.h2 strong,h3 strong,.h3 strong,blockquote strong,h4 strong,.h4 strong,h5 strong,.h5 strong,h6 strong,.h6 strong{font-weight:normal}h1:last-child,.h1:last-child,h2:last-child,.h2:last-child,h3:last-child,.h3:last-child,blockquote:last-child,h4:last-child,.h4:last-child,h5:last-child,.h5:last-child,h6:last-child,.h6:last-child{margin-bottom:0}h1,.h1{margin-top:.75em;font-size:3.75em}h2,.h2{margin-top:.5em;font-size:3.125em}h3,.h3,blockquote{font-size:1.875em}h4,.h4{font-size:1.25em}h5,.h5{font-size:0.9375em}h6,.h6{font-size:1.125em;font-family:"Montserrat",sans-serif}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}cite,blockquote strong,blockquote em{font-weight:400;line-height:1.1}blockquote{margin:1.875em 0;padding-left:4em;padding:1.875em 1.875em 1.875em 1.6em;background-color:#fff;font-style:normal;line-height:1.4}cite,blockquote strong{font-style:normal}.screen-reader-text{border:0;clip:rect(1px, 1px, 1px, 1px);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute !important;width:1px;word-wrap:normal !important}.screen-reader-text:focus{background-color:#f1f1f1;border-radius:3px;box-shadow:0 0 2px 2px rgba(0,0,0,0.6);clip:auto !important;-webkit-clip-path:none;clip-path:none;color:#21759b;display:block;font-size:14px;font-size:0.875rem;font-weight:bold;height:auto;left:5px;line-height:normal;padding:15px 23px 14px;text-decoration:none;top:5px;width:auto;z-index:100000}#content[tabindex="-1"]:focus{outline:0}.alignleft{display:inline;float:left;margin-right:1.5em}.alignright{display:inline;float:right;margin-left:1.5em}.aligncenter{clear:both;display:block;margin-left:auto;margin-right:auto}.clear:before,.clear:after,.entry-content:before,.entry-content:after,.comment-content:before,.comment-content:after,.site-header:before,.site-header:after,.site-content:before,.site-content:after,.site-footer:before,.site-footer:after{content:"";display:table;table-layout:fixed}.clear:after,.entry-content:after,.comment-content:after,.site-header:after,.site-content:after,.site-footer:after{clear:both}.widget{margin:0 0 1.5em}.widget select{max-width:100%}.sticky{display:block}.post,.page{margin:0 0 1.5em}.updated:not(.published){display:none}.page-content,.entry-content,.entry-summary{margin:1.5em 0 0}.page-links{clear:both;margin:0 0 1.5em}.comment-content a{word-wrap:break-word}.bypostauthor{display:block}.infinite-scroll .posts-navigation,.infinite-scroll.neverending .site-footer{display:none}.infinity-end.neverending .site-footer{display:block}.page-content .wp-smiley,.entry-content .wp-smiley,.comment-content .wp-smiley{border:none;margin-bottom:0;margin-top:0;padding:0}embed,iframe,object{max-width:100%}.custom-logo-link{display:inline-block}.wp-caption{margin-bottom:1.5em;max-width:100%}.wp-caption img[class*="wp-image-"]{display:block;margin-left:auto;margin-right:auto}.wp-caption .wp-caption-text{margin:0.8075em 0}.wp-caption-text{text-align:center}.gallery{margin-bottom:1.5em}.gallery-item{display:inline-block;text-align:center;vertical-align:top;width:100%}.gallery-columns-2 .gallery-item{max-width:50%}.gallery-columns-3 .gallery-item{max-width:33.33%}.gallery-columns-4 .gallery-item{max-width:25%}.gallery-columns-5 .gallery-item{max-width:20%}.gallery-columns-6 .gallery-item{max-width:16.66%}.gallery-columns-7 .gallery-item{max-width:14.28%}.gallery-columns-8 .gallery-item{max-width:12.5%}.gallery-columns-9 .gallery-item{max-width:11.11%}.gallery-caption{display:block}.site-main{max-width:1440px;margin-left:auto;margin-right:auto;padding-left:1.875em;padding-right:1.875em}.site-main .row-width--full{position:relative;left:50%;right:50%;width:100vw;margin-left:-50vw;margin-right:-50vw;padding-left:1.875em;padding-right:1.875em}.site-main .row-width--full .row-width{max-width:calc(1440px - 3.75em);margin-left:auto;margin-right:auto}[class*="--margin-top-none"]{margin-top:0}[class*="--padding-top-none"]{padding-top:0}[class*="--padding-bottom-none"]{padding-bottom:0}[class*="--margin-bottom-none"]{margin-bottom:0}[class*="--margin-top-big"]{margin-top:15em}[class*="--padding-top-big"]{padding-top:15em}[class*="--padding-bottom-big"]{padding-bottom:15em}[class*="--margin-bottom-big"]{margin-bottom:15em}@media only screen and (max-width: 500px){[class*="--margin-bottom-big"]{margin-bottom:11.25em}}[class*="--align-left"]{text-align:left}[class*="--align-right"]{text-align:right}[class*="--align-center"]{text-align:center}[class*="--default-text-over-dark"]:not([class*="--text-over-light"]) blockquote,[class*="--default-text-over-dark"]:not([class*="--text-over-light"]){color:#fff}[class*="--default-text-over-dark"]:not([class*="--text-over-light"]) .wp-caption,[class*="--default-text-over-dark"]:not([class*="--text-over-light"]) select{color:#89969F}[class*="--text-over-dark"]{color:#fff}[class*="--text-over-dark"] .wp-caption,[class*="--text-over-dark"] select{color:#89969F}.extra{position:absolute}.extra--grow-line-t,.extra--short-grow-line-t,.extra--grow-line-b,.extra--short-grow-line-b{overflow:hidden;display:-webkit-flex;display:-ms-flexbox;display:flex;z-index:50;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;width:100%;height:8em}@media only screen and (max-width: 800px){.extra--grow-line-t,.extra--short-grow-line-t,.extra--grow-line-b,.extra--short-grow-line-b{height:4em}}.extra--grow-line-t .extra__line,.extra--short-grow-line-t .extra__line,.extra--grow-line-b .extra__line,.extra--short-grow-line-b .extra__line{display:block;height:8em;width:2px;background-color:#EEF2F6}.extra--grow-line-t,.extra--short-grow-line-t{bottom:100%;margin-bottom:-4em}@media only screen and (max-width: 800px){.extra--grow-line-t,.extra--short-grow-line-t{margin-bottom:-2em}}.extra--grow-line-b,.extra--short-grow-line-b{top:100%;margin-top:-4em}@media only screen and (max-width: 800px){.extra--grow-line-b,.extra--short-grow-line-b{margin-top:-2em}}.extra--short-grow-line-t{z-index:-1}.extra--short-grow-line-b{z-index:-1}.extra--pinline-tl,.extra--pinline-tc,.extra--pinline-tr,.extra--pinline-br,.extra--pinline-bc,.extra--pinline-bl{background-image:repeating-linear-gradient(320deg, rgba(255,255,255,0), rgba(255,255,255,0) 14px, #B8C5D0 15px, #B8C5D0 16px, rgba(255,255,255,0) 17px)}@media only screen and (max-width: 800px){.extra--pinline-tl,.extra--pinline-tc,.extra--pinline-tr,.extra--pinline-br,.extra--pinline-bc,.extra--pinline-bl{background-image:repeating-linear-gradient(320deg, rgba(255,255,255,0), rgba(255,255,255,0) 10px, #B8C5D0 11px, #B8C5D0 12px, rgba(255,255,255,0) 13px)}}@media only screen and (max-width: 500px){.extra--pinline-tl,.extra--pinline-tc,.extra--pinline-tr,.extra--pinline-br,.extra--pinline-bc,.extra--pinline-bl{background-image:repeating-linear-gradient(320deg, rgba(255,255,255,0), rgba(255,255,255,0) 8px, #B8C5D0 9px, #B8C5D0 10px, rgba(255,255,255,0) 11px)}}.extra--pinline-tl,.extra--pinline-tc,.extra--pinline-tr,.extra--pinline-br,.extra--pinline-bc,.extra--pinline-bl{content:"";position:absolute;top:0;bottom:0;z-index:-1;width:65%}@media only screen and (max-width: 1121px){.extra--pinline-tl,.extra--pinline-tc,.extra--pinline-tr,.extra--pinline-br,.extra--pinline-bc,.extra--pinline-bl{width:80%}}@media only screen and (max-width: 500px){.extra--pinline-tl,.extra--pinline-tc,.extra--pinline-tr,.extra--pinline-br,.extra--pinline-bc,.extra--pinline-bl{width:85%}}.extra--pinline-tl{top:-2em;left:0}.extra--pinline-tc{top:-2em;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}.extra--pinline-tr{top:-2em;right:0}.extra--pinline-br{bottom:-5em;right:0}.extra--pinline-bc{bottom:-5em;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}.extra--pinline-bl{bottom:-5em;left:0}.extra--dots-tl,.extra--dots-tr,.extra--dots-br,.extra--dots-bl{background-image:radial-gradient(#89969f 10%,rgba(0,0,0,0) 10%);background-size:1rem 1rem;background-position:0 0}.extra--dots-tl,.extra--dots-tr,.extra--dots-br,.extra--dots-bl{content:"";position:absolute;z-index:50;width:5rem;height:13rem;pointer-events:none}@media only screen and (max-width: 1121px){.extra--dots-tl,.extra--dots-tr,.extra--dots-br,.extra--dots-bl{display:none}}.extra--dots-tl{top:-7rem;left:0}.extra--dots-tr{top:-7rem;right:0}.extra--dots-br{bottom:-7rem;right:0}.extra--dots-bl{bottom:-7rem;left:0}[class*="--h1-big"]{opacity:.5}@media only screen and (max-width: 500px){.main-nav__nav:before{content:"";position:absolute;width:1em;height:1em;right:100%;background-color:transparent}}[id^="things-list-"]:not(:hover)>li>a{display:none !important}[id^="things-list-"]:before{content:"max (over 1440px)";width:100%;color:#fff;padding-left:5px;font-size:10px;float:left}@media only screen and (max-width: 1440px){[id^="things-list-"]:before{content:"$bp-lg--max (1440px)"}}@media only screen and (max-width: 1121px){[id^="things-list-"]:before{content:"$bp-lg--mid (1121px)"}}@media only screen and (max-width: 801px){[id^="things-list-"]:before{content:"$bp-lg--min (801px)"}}@media only screen and (max-width: 800px){[id^="things-list-"]:before{content:"$bp-md--max (800px)"}}@media only screen and (max-width: 651px){[id^="things-list-"]:before{content:"$bp-md--mid (651px)"}}@media only screen and (max-width: 501px){[id^="things-list-"]:before{content:"$bp-md--min (501px)"}}@media only screen and (max-width: 500px){[id^="things-list-"]:before{content:"$bp-sm--max (500px)"}}@media only screen and (max-width: 410px){[id^="things-list-"]:before{content:"$bp-sm--mid (410px)"}}@media only screen and (max-width: 320px){[id^="things-list-"]:before{content:"$bp-sm--min (320px)"}}#__bs_notify__{opacity:.8;bottom:0;left:0;right:auto !important;top:auto !important;border-radius:0 10px 0 0 !important;-webkit-transform:scale(0.6);transform:scale(0.6);-webkit-transform-origin:0 100%;transform-origin:0 100%;background-color:mediumaquamarine !important}#pix2pix{max-width:none !important}

// demo-only styling
.site-content {
    max-width: 1440px;
    margin: $gap*2 auto 0;
}
.stripe-slider {
    a {
        color: aquamarine;
    }
    &__slide {
        $bg-list:
            car, graffiti, convertible,
            sportscar, cars, minivan;
        @each $bg in $bg-list {
            $i: index($bg-list, $bg);
            &:nth-child(#{$i}) {
                background-image: url("https://www.tcmulder.com/codepen/_fpo/photos/");
                .stripe-grid__over:after {
                    background-image: url("https://www.tcmulder.com/codepen/_fpo/photos/");
                }
            }
        }
    }
}
              
            
!

JS

              
                /*DEBUG*/console.clear();

// Stripe Slider
var stripeSlider = {
    // set everything up
    init: function(){
        $('.js-stripe-slider').each(function(){
            // cache things
            var $slider = $(this);
            $slider.$slides = $slider.find('.js-stripe-slider__slide');
            $slider.$prev = $slider.find('.js-stripe-slider__prev');
            $slider.$next = $slider.find('.js-stripe-slider__next');
            $slider.$pages = $slider.find('.js-stripe-slider__page');
            // identify properties
            $slider.num = 0;
            $slider.last = $slider.$slides.length - 1;
            $slider.autoSpeed = 5000;
            $slider.aniSpeed = 800;
            // bind things
            $slider.$prev.on('click.stripeSlider', function(){
                stripeSlider.goTo($slider, stripeSlider.getSlide($slider, 'prev'));
            });
            $slider.$next.on('click.stripeSlider', function(){
                stripeSlider.goTo($slider, stripeSlider.getSlide($slider, 'next'));
            });
            $slider.$pages.each(function(){
                var $thisPage = $(this);
                $thisPage.on('click.stripeSlider', function(){
                    stripeSlider.goTo($slider, $slider.$pages.index(this));
                });
            });
        });
    },
    // go to slide
    goTo: function($slider, to){
        $slider.$pages.removeClass('active');
        $slider.$pages.eq(to).addClass('active');
        $slider.addClass('going');
        $slider.$slides
            .removeClass('active')
            .eq(to)
                .addClass('active');
        setTimeout(function(){
            $slider.removeClass('going');
        }, $slider.aniSpeed);
                    
    },
    // // auto slide
    // use this to call in init: stripeSlider.autoSlide($slider);
    // autoSlide: function($slider){
    //     // auto slide by default
    //     var shouldAuto = true;
    //     // on a timer go to the next slide (recursive)
    //     var goToAuto = function(){
    //         setTimeout(function(){
    //             if(shouldAuto){
    //                 stripeSlider.goTo($slider, stripeSlider.getSlide($slider, 'next'));
    //                 goToAuto();
    //              }
    //         }, $slider.autoSpeed);
    //     }
    //     // run it once
    //     goToAuto();
    //     $slider
    //         // when user is interacting don't auto
    //         .on('mouseenter.stripeSlider', function(){
    //             shouldAuto = false;
    //         })
    //         // when user stops interacting then auto
    //         .on('mouseleave.stripeSlider', function(){
    //             shouldAuto = true;
    //             goToAuto();
    //         });
    // },
    // get prev/next slide num
    getSlide: function($slider, direction){
        // if we're looking for the next slide
        if('next' === direction){
            // set slide (start over if at end)
            if(++$slider.num > $slider.last){
               $slider.num = 0;
            }
            return $slider.num;
        // if we're looking for the previous slide
        } else { // 'prev' === direction
            // set slide (go to end if at start)
            if(--$slider.num < 0){
               $slider.num = $slider.last;
            }
            return $slider.num;
        }
    }
};
// implementation
jQuery(function($){
    stripeSlider.init();
});
              
            
!
999px

Console