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. You can use the CSS from another Pen by using it's URL and the proper URL extention.

+ 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

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

              
                <!--Disclaimer: This CodePen is provided for instructional purposes only. Vidyard cannot support or guarantee any dependencies on third-party code or libraries such as JavaScript, jQuery or CSS-->

<!-- v2.11 Modified by Chris Broughton - July 2020 - Tidied padding on image, icons now width responsive.

Change panel background & font colors on line 12-17
Change icon colors on line 18-19
Change font on line 20
Change Company Details = URL on line 25 - Name on line 27 - Logo on line 29
Change Rep Details = URL on line 31. Name on line 33 
--> 

<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.0-2/css/all.min.css"/>

<style type="text/css">
.strips__strip:nth-child(1) .strip__content{background: #efefef;} /* CHANGE LEFT/TOP PANEL BACKGROUND COLOR HERE */
.company{color: #222222;} /* CHANGE LEFT/TOP PANEL FONT COLOR HERE */
.strips__strip:nth-child(2) .strip__content{background: #038fd2;} /* CHANGE MIDDLE PANEL BACKGROUND COLOR HERE */
.rep{color: #222222;} /* CHANGE MIDDLE PANEL FONT COLOR HERE */
.strips__strip:nth-child(3) .strip__content{background: #989898;} /* CHANGE RIGHT/BOTTOM PANEL BACKGROUND COLOR HERE */
.replay{color: #222222;} /* CHANGE RIGHT/BOTTOM PANEL FONT COLOR HERE */
.fa-calendar-alt {color:#222222;} /* CHANGE CALENDAR COLOR HERE */
.fa-redo-alt { color:#222222;} /* CHANGE REPLAY COLOR HERE */
body{font-family: 'Helvetica', sans-serif;} /* CHANGE FONT HERE */
  
 *{box-sizing: border-box;}.strips__strip:nth-child(1) .strip__content{  background-size: 100%; -webkit-transform: translate3d(-100%, 0, 0); transform: translate3d(-100%, 0, 0); -webkit-animation-name: strip1; animation-name: strip1; -webkit-animation-delay: 0.1s; animation-delay: 0.1s;}.strips__strip:nth-child(2) .strip__content{ -webkit-transform: translate3d(0, 100%, 0); transform: translate3d(0, 100%, 0); -webkit-animation-name: strip2; animation-name: strip2; -webkit-animation-delay: 0.2s; animation-delay: 0.2s;}.strips__strip:nth-child(3) .strip__content{   -webkit-transform: translate3d(0, -100%, 0); transform: translate3d(0, -100%, 0); -webkit-animation-name: strip3; animation-name: strip3; -webkit-animation-delay: 0.3s; animation-delay: 0.3s;}.strips{min-height: 100vh; text-align: center; overflow: hidden; color: white;}p{color:black}.a:link{text-decoration: none;}.a:visited{text-decoration: none;}.a:hover{text-decoration: none;}.a:active{text-decoration: none;}.strips__strip{will-change: width, left, z-index, height; position: absolute; width: 33.3%; min-height: 100vh; overflow: hidden; cursor: pointer; -webkit-transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1); transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);}.strips__strip:nth-child(1){left: 0;}.strips__strip:nth-child(2){left: 33.3vw;}.strips__strip:nth-child(3){left: 66.6vw;}@media screen and (min-width: 0px){.strips__strip{min-height: 33.3vh;}.strips__strip:nth-child(1){top: 0; left: 0; width: 100%;}.strips__strip:nth-child(2){top: 33.3vh; left: 0; width: 100%;}.strips__strip:nth-child(3){top: 66.6vh; left: 0; width: 100%;}}.strips .strip__content{-webkit-animation-duration: 1s; animation-duration: 1s; -webkit-animation-timing-function: cubic-bezier(0.23, 1, 0.32, 1); animation-timing-function: cubic-bezier(0.23, 1, 0.32, 1); -webkit-animation-fill-mode: both; animation-fill-mode: both; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; -webkit-box-pack: center; -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; position: absolute; top: 0; left: 0; width: 100%; height: 100%; text-decoration: none;}.strips .strip__content:hover:before{-webkit-transform: skew(-30deg) scale(3) translate(0, 0); transform: skew(-30deg) scale(3) translate(0, 0); opacity: 0.1;}.strips .strip__content:before{content: ""; position: absolute; z-index: 1; top: 0; left: 0; width: 100%; height: 100%; background: white; opacity: 0.05; -webkit-transform-origin: center center; transform-origin: center center; -webkit-transform: skew(-30deg) scaleY(1) translate(0, 0); transform: skew(-30deg) scaleY(1) translate(0, 0); -webkit-transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1); transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);}.strips .strip__inner-text{will-change: transform, opacity; position: absolute; z-index: 5; top: 50%; left: 50%; width: 70%; -webkit-transform: translate(-50%, -50%) scale(0.5); transform: translate(-50%, -50%) scale(0.5); opacity: 0; -webkit-transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1); transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);}.strips__strip--expanded{width: 100%; top: 0 !important; left: 0 !important; z-index: 3; cursor: default;}@media screen and (min-width: 0px){.strips__strip--expanded{min-height: 100vh;}}.strips__strip--expanded .strip__content:hover:before{-webkit-transform: skew(-30deg) scale(1) translate(0, 0); transform: skew(-30deg) scale(1) translate(0, 0); opacity: 0.05;}.strips__strip--expanded .strip__title{opacity: 0;}.strips__strip--expanded .strip__inner-text{opacity: 1; -webkit-transform: translate(-50%, -50%) scale(1); transform: translate(-50%, -50%) scale(1);}.strip__title{display: block; margin: 0; position: relative; z-index: 2; width: 100%; font-size: 3.5vw; color: white; -webkit-transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1); transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);}@media screen and (min-width: 0px){.strip__title{font-size: 4.5vw;}}.strip__close{position: absolute; right: 3vw; top: 3vw; opacity: 0; z-index: 10; -webkit-transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1); transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1); cursor: pointer; -webkit-transition-delay: 0.5s; transition-delay: 0.5s;}.strip__close--show{opacity: 1;}@-webkit-keyframes strip1{0%{-webkit-transform: translate3d(-100%, 0, 0); transform: translate3d(-100%, 0, 0);}100%{-webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0);}}@keyframes strip1{0%{-webkit-transform: translate3d(-100%, 0, 0); transform: translate3d(-100%, 0, 0);}100%{-webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0);}}@-webkit-keyframes strip2{0%{-webkit-transform: translate3d(0, 100%, 0); transform: translate3d(0, 100%, 0);}100%{-webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0);}}@keyframes strip2{0%{-webkit-transform: translate3d(0, 100%, 0); transform: translate3d(0, 100%, 0);}100%{-webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0);}}@-webkit-keyframes strip3{0%{-webkit-transform: translate3d(0, -100%, 0); transform: translate3d(0, -100%, 0);}100%{-webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0);}}@keyframes strip3{0%{-webkit-transform: translate3d(0, -100%, 0); transform: translate3d(0, -100%, 0);}100%{-webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0);}}@-webkit-keyframes strip4{0%{-webkit-transform: translate3d(0, 100%, 0); transform: translate3d(0, 100%, 0);}100%{-webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0);}}/* Demo purposes */body{ -webkit-font-smoothing: antialiased; text-rendering: geometricPrecision; line-height: 1.5;}h1,h2{font-weight: 300;}.fa{font-size: 5vw;}h2{font-size: 36px; margin: 0 0 16px;}p{margin: 0 0 0px;}a, a:link,a:visited{color: black; text-decoration: none;}img{padding:5px;}</style> <section class="strips"> <article class="strips__strip">
<!--Change Company URL Below-->   
<a href="https://vidyard.com" target="_blank"> <div class="strip__content"> <h1 class="strip__title" data-name="Lorem">
<!--Change Company Name Below-->    
<p class="company">Visit COMPANY</p> 
<!--Change Company Image Below-->   
<img src="http://www.clker.com/cliparts/O/v/c/b/i/6/generic-logo.svg" width="20%"> </h1> </div></a></article><article class="strips__strip">
<!--Change Rep URL Below-->   
<a href="http://Reps Calendar URL Here" target="_blank"> <div class="strip__content"><h1 class="strip__title" data-name="Ipsum"> 
<!--Change Rep Name Below--> 
<p class="rep">Chat with REP NAME</p>
<i class="fa fa-calendar-alt" aria-hidden="true" style="padding:5px;"></i></h1></div></a></article> <article class="strips__strip"><a onclick="jumpToVideo(0)"><div class="strip__content"> <h1 class="strip__title" data-name="Dolor"><p class="replay">Replay Video</p><i class="fa fa-redo-alt" aria-hidden="true" style="padding:5px;"></i></h1></div></a></article> </section> <script type="text/javascript">function jumpToVideo(chapter_index){API.closeCta({disablePlay: true}); API.playChapter({chapter_index: chapter_index});}</script>
              
            
!

CSS

              
                
              
            
!

JS

              
                
              
            
!
999px

Console