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 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

              
                <!--Generic Sharing Page - Dark Version v1.1. Created by Chris Broughton

Follow the steps to create a visually appealing sharing page!

When adding the code to the sharing page, the HTML will split into two sections, 'Header' and 'Footer'. These are clearly defined below. Use the dropdown in the Vidyard Sharing Page editor to navigate between the two.
 
CodePen may render the 'cards' differently to what Vidyard does, they should line up in a row.

Remember to copy the CSS into the CSS box as well!
-->

<!--Header HTML Start-->  
<header>
  
<!--1. Insert Hyperlink to your website within 'href'-->
  <a class="logo" href="http://URL HERE"> 
<!--2. Insert Image URL within 'src'-->    
    <img src="http://www.clker.com/cliparts/b/l/0/w/q/3/modified-generic-company-logo.svg.med.png" width="149" height="40" alt="Logo">
  </a>
</header>  
<!--Header HTML End-->  

<!--Footer HTML Start-->  

<div style="height: 500px;"></div>
<div class="container">
 <div class="comp-cards cols-3">
<!--3. Adjust the cards. Each one has a Link that needs to change, along with a title, main heading and CTA text. Add and remove cards as needed-->  
   <!--CARD 1 START-->
   <!--Add your link into 'href'-->
    <a class="card" href="https://URLHERE.com" target="_new">
      <!--Add your Title-->
      <h2 class="comp-pre-title">TITLE</h2>
      <!--Add your Main Heading-->
      <div class="comp-title x-small">Main Heading</div>
      <!--Add your short description-->
      <p class="comp-section-paragraph">Short description of why you should click here</p>
      <!--Adjust the verb based action-->
      <div class="comp-link"> <span>'(Download/Try it/View it)' now</span> <span class="arrow-icon"><svg aria-hidden="true" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512" class="svg-inline--fa fa-long-arrow-right fa-w-14 fa-1x"><path fill="currentColor" d="M295.515 115.716l-19.626 19.626c-4.753 4.753-4.675 12.484.173 17.14L356.78 230H12c-6.627 0-12 5.373-12 12v28c0 6.627 5.373 12 12 12h344.78l-80.717 77.518c-4.849 4.656-4.927 12.387-.173 17.14l19.626 19.626c4.686 4.686 12.284 4.686 16.971 0l131.799-131.799c4.686-4.686 4.686-12.284 0-16.971L312.485 115.716c-4.686-4.686-12.284-4.686-16.97 0z"></path></svg></span>
</div> 
    </a>
  <!--CARD 2 START-->       
     <!--Add your link into 'href'-->
    <a class="card" href="https://URLHERE.com" target="_new">
      <!--Add your Title-->
      <h2 class="comp-pre-title">TITLE</h2>
      <!--Add your Main Heading-->
      <div class="comp-title x-small">Main Heading</div>
      <!--Add your short description-->
      <p class="comp-section-paragraph">Short description of why you should click here</p>
      <!--Adjust the verb based action-->
      <div class="comp-link"> <span>'(Download/Try it/View it)' now</span> <span class="arrow-icon"><svg aria-hidden="true" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512" class="svg-inline--fa fa-long-arrow-right fa-w-14 fa-1x"><path fill="currentColor" d="M295.515 115.716l-19.626 19.626c-4.753 4.753-4.675 12.484.173 17.14L356.78 230H12c-6.627 0-12 5.373-12 12v28c0 6.627 5.373 12 12 12h344.78l-80.717 77.518c-4.849 4.656-4.927 12.387-.173 17.14l19.626 19.626c4.686 4.686 12.284 4.686 16.971 0l131.799-131.799c4.686-4.686 4.686-12.284 0-16.971L312.485 115.716c-4.686-4.686-12.284-4.686-16.97 0z"></path></svg></span>
</div> 
    </a>
  <!--CARD 3 START-->        
    <!--Add your link into 'href'-->
    <a class="card" href="https://URLHERE.com" target="_new">
      <!--Add your Title-->
      <h2 class="comp-pre-title">TITLE</h2>
      <!--Add your Main Heading-->
      <div class="comp-title x-small">Main Heading</div>
      <!--Add your short description-->
      <p class="comp-section-paragraph">Short description of why you should click here</p>
      <!--Adjust the verb based action-->
      <div class="comp-link"> <span>'(Download/Try it/View it)' now</span> <span class="arrow-icon"><svg aria-hidden="true" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512" class="svg-inline--fa fa-long-arrow-right fa-w-14 fa-1x"><path fill="currentColor" d="M295.515 115.716l-19.626 19.626c-4.753 4.753-4.675 12.484.173 17.14L356.78 230H12c-6.627 0-12 5.373-12 12v28c0 6.627 5.373 12 12 12h344.78l-80.717 77.518c-4.849 4.656-4.927 12.387-.173 17.14l19.626 19.626c4.686 4.686 12.284 4.686 16.971 0l131.799-131.799c4.686-4.686 4.686-12.284 0-16.971L312.485 115.716c-4.686-4.686-12.284-4.686-16.97 0z"></path></svg></span>
</div> 
    </a>
<!--CARD 3 END-->    
  </div>
</div>

<footer>
  <div class="container">
    <div class="row">
      <div class="perc-25">                                                                                                                                       <!--4. Adjust Social URLs-->   
        
        
       <a class="link-social" aria-label="Twitter" href="https://URL HERE" target="_blank" aria-label="Twitter"><i class="fab fa-twitter"></i></a>
       <a class="link-social" aria-label="Facebook" href="https://URL HERE" target="_blank" aria-label="Facebook"><i class="fab fa-facebook"></i></a>
       <a class="link-social" aria-label="Instagram" href="https://URL HERE" target="_blank" aria-label="Instagram"><i class="fab fa-instagram"></i></a>
       <a class="link-social" aria-label="Youtube" href="https://URL HERE" target="_blank" aria-label="YouTube"><i class="fab fa-youtube"></i></a>
       <a class="link-social" aria-label="Linkedin" href="https://URL HERE" target="_blank" aria-label="LinkedIn"><i class="fab fa-linkedin"></i></a>
      </div>
      
<!--5. Copy and paste website footer links or adjust these URLS--> 
      
     
      <ul class="perc-50">
       <li><a class="link" href="https://URL HERE">Terms of Service</a></li>
       <li><a class="link" href="https://URL HERE">Privacy Policy</a></li>
       <li><a class="link" href="https://URL HERE">Cookies</a></li>
       <li><a class="link" href="https://URL HERE">EULA</a></li>
       <li><a class="link" href="https://URL HERE">Accessibility</a></li>
      </ul>
    </div>
  </div>
</footer>
<!--Footer HTML End-->  

              
            
!

CSS

              
                @import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.11.2/css/all.css");
/* Templated quick adjustments */
#main-content > header {
    display: none!important;
}
/* Set flex-direction to 'row-reverse' for logo in top right */
header {
    flex-direction: inherit;
}
/* Set to padding: 20px 0 0px 0; if using Descriptions!*/
#main-content {
    padding: 20px 0 60px 0;
}

/* Player Title Font */
#sharing-stage #name-header h1 {font-family: 'Open Sans',sans-serif;
    font-weight: 400;
  font-size: 22px;
  
}
/* Header Height / Colour */
header
{
  height: 65px;
  background-color: #222222;
}
/* Logo Adjustment if needed (check centering on mobile) */
.logo
{
  width: 140px;
  height: 40px;
}
/* Change the Card Link colour*/
.comp-link
{
  color: #999 !important;
}

.fab 
{
  font-family: 'Font Awesome 5 Brands';
}
.fa-twitter::before
{
  content: '\f099';
}
.fa-facebook::before
{
  content: '\f09a';
}
.fa-instagram::before
{
  content: '\f16d';
}
.fa-youtube::before
{
  content: '\f167';
}
.fa-dribble::before
{
  content: '\f17d';
}
.fa-linkedin::before
{
  content: '\f08c';
}

/* Setup */

#sharing-description {
    color: #fff;
    text-align: center;
}

.user-opacity {
    background-color: inherit!important;
}

.comp-cards
{
  text-align: left;
  
  position: relative;
  z-index: 1;
  
  display: flex;
  
  flex-flow: row wrap;
  justify-content: space-between;
}
.comp-cards.cols-3 .card 
{
    width: 30.33%;
}
.card
{
  margin: 15px 0;
  padding: 30px 4%;
  overflow: hidden;
  
  color: white;
  border-radius: 8px;
  background-color: #222222;
  box-shadow: 0 0.3em 0.8em rgba(0,0,0,.1);
  transition: all 0.4s;
  transition-timing-function: cubic-bezier(.16,1,.29,.99);
}
.card:hover,
.card:focus,
.card:active
{
  text-decoration: none;
  
  color: inherit;
  background-color: #222;
  box-shadow: 0 0 3em rgba(0,0,0,.15);
  transform: translateY(-4px);
}
.comp-pre-title 
{
  font-size: .8em;
  font-weight: 300;
  letter-spacing: .25em;
  text-transform: uppercase;
  
  position: relative;
  z-index: 1;
  
  width: 100%;
  margin-bottom: 5px;
}
.comp-pre-title.tac
{
  /* this only applies to the logo one */
  text-align: center;
  
  padding-top: 70px;
}
.comp-title
{
  font-size: 22px;  
  font-weight: 600;
  line-height: 1.2em;

  position: relative;
  z-index: 1;

  margin-bottom: 10px;
}
.comp-section-paragraph 
{
  font-size: 16px;
  line-height: 1.5em;
  
  margin-top: 10px;
  max-width: 600px;
  width: 100%;
  margin: auto;
}
.comp-link
{
  font-weight: 600;
  
  margin-top: 8px;
  
  color: #6361FA;
}
.arrow-icon
{
  position: absolute;
  
  display: inline-block;
  height: 14px;
  width: 16px;
  margin-bottom: -2px;
  margin-left: 6px;
  
  fill: #6361FA;
}


a{text-decoration: none;}

body
{
font-family: 'Open Sans',sans-serif;
  
  margin: 0;
  padding: 0;
  background:#292929;
  color: #ddd;
}

#sharing-stage #name-header h1 {
font-size: 32px;
  text-shadow: none;
  }

body.light #sharing-stage #name-header h1 {
    color: #000;
    text-shadow: none;
}
#sharing-stage #stage .vidyard_player>span {
    box-shadow: 4px 16px 89px -5px #333333;
}
  #sharing-stage #name-header {
    padding-bottom: 15px;
  }
#logo-container
{
  /* Resides under the video */
  display: none;
}
#name-header h1
{
  font-size: 32px;  
  font-weight: 600;
  line-height: 1.2em;

  position: relative;
  z-index: 1;

  margin-bottom: .25em !important;
  
  color: #fff !important;
}
#stage
{
  max-width: 700px!important;
  width:96%;
}

/* Header */
header
{
  display: flex;
  padding: 0 17px;
  align-items: center;
  box-shadow: 0 4px 53px rgba(15,31,41,.08), 0 0 3px rgba(15,31,41,.04);
}


/* Footer */
.container
{
  display: block;
  max-width: 1100px;
  min-width: 320px;
  width: 94%;
  margin: auto;
}
.comp-cards
{
  text-align: left;
  
  position: relative;
  z-index: 1;
  
  display: flex;
  
  flex-flow: row wrap;
  justify-content: space-between;
}

.comp-pre-title 
{
  font-size: .8em;
  font-weight: 300;
  letter-spacing: .25em;
  text-transform: uppercase;
  
  position: relative;
  z-index: 1;
  
  width: 100%;
  margin-bottom: 5px;
}
.comp-pre-title.tac
{
  /* this only applies to the logo one */
  text-align: center;
  
  padding-top: 70px;
}
.comp-title
{
  font-size: 22px;  
  font-weight: 600;
  line-height: 1.2em;

  position: relative;
  z-index: 1;

  margin-bottom: 10px;
}
.comp-section-paragraph 
{
  font-size: 16px;
  line-height: 1.5em;
  
  margin-top: 10px;
  max-width: 600px;
  width: 100%;
  margin: auto;
}
.comp-link
{
  font-weight: 600;
  
  margin-top: 8px;
  
  color: #6361FA;
}
.arrow-icon
{
  position: absolute;
  
  display: inline-block;
  height: 14px;
  width: 16px;
  margin-bottom: -2px;
  margin-left: 6px;
  
  fill: #6361FA;
}
.comp-logo-bar .logos
{
  display: flex;
  align-items: center;
  justify-content: center;
}
.comp-logo-bar .logos .logo
{
  width: 180px;
  height: 100px;
}
.comp-logo-bar .logos .logo svg .cls-1, 
.comp-logo-bar .logos .logo svg .cls-2, 
.comp-logo-bar .logos .logo svg .cls-3, 
.comp-logo-bar .logos .logo svg .cls-4, 
.comp-logo-bar .logos .logo svg .cls-5, 
.comp-logo-bar .logos .logo svg .cls-6, 
.comp-logo-bar .logos .logo svg .cls-7, 
.comp-logo-bar .logos .logo svg .cls-8, 
.comp-logo-bar .logos .logo svg .cls-9, 
.comp-logo-bar .logos .logo svg .cls-10, 
.comp-logo-bar .logos .logo svg .st0, 
.comp-logo-bar .logos .logo svg .st1, 
.comp-logo-bar .logos .logo svg .st2, 
.comp-logo-bar .logos .logo svg .st3, 
.comp-logo-bar .logos .logo svg .st4, 
.comp-logo-bar .logos .logo svg .st5, 
.comp-logo-bar .logos .logo svg .st6, 
.comp-logo-bar .logos .logo svg .st7, 
.comp-logo-bar .logos .logo svg .st8, 
.comp-logo-bar .logos .logo svg .st9 
{
  fill: #A9B0C9 !important;
}
footer
{
  
  background-color: #222222;

}
footer a 
{
  color: #FFFFFF;
  transition: all 0.4s;
  transition-timing-function: cubic-bezier(.16,1,.29,.99);
}
footer a:hover,
footer a:focus
{
  text-decoration: none;
  
  color: white;
}
footer .row
{
  display: flex;
  height: 160px;

  align-items: center;
  justify-content: left;
}
.perc-25
{
  width: 25%;
}
.perc-50
{
  text-align: center;
  
  width: 55%;
  margin: 0;
  padding: 0;
  list-style-type: none;
}
.perc-50 li
{
  display: inline-block;
}
.perc-50 li + li:before
{
  content: '|';
  color: #fff;
  margin: 0 12px;
}
footer i
{
  font-style: normal;
}
.link-social
{
  font-size: 18px;
  line-height: 1.3em;
  margin: 0 8px;
  text-decoration: none;
}
.link
{
  font-size: 14px;
  line-height: 1.3em;
  text-decoration: none;
}
@media (max-width: 991.9px)
{
  #main-content
  {
    padding: 20px 0;
  }
  .perc-25
  {
    text-align: center;
    width: 100%;
  }
  .perc-50
  {
    text-align: center;
    width: 100%;
  }
  footer .row
  {
    flex-flow: row wrap;
  }
}
@media (max-width: 767.9px)
{
  br { content: ' '; &:after { content: ' '; }}

  header
  {
    justify-content: center;
  }
  #main-content
  {
    padding: 10px 0;
  }
  .comp-cards .card 
  {
    text-align: center !important;
    width: 100%!important;
  }
}
@media (max-width: 607px)
{
  .comp-logo-bar .logos 
  {
    flex-flow: row wrap;
  }
  .comp-logo-bar .logos .logo
  {
    height: 100px;
  }
  .perc-25
  {
    padding: 10px 0;
  }
  .perc-50 > li
  {
    display: block;
    margin: 5px 0;
  }
  .perc-50 > li:before
  {
    display: none;
  }
  footer
  {
    height: 242px;
    padding: 15px 0;
  }
  

  
  @media (max-width: 991.9px)
{
  .comp-cards .card
  {
    padding: 20px 4%;
    width: 31.33% !important;
    margin: 4px auto;
  }
  }
  
  @media (max-width: 767.9px)
{
  .comp-cards .card 
  {
    text-align: center !important;
    width: 100%!important;
  }
}
              
            
!

JS

              
                
              
            
!
999px

Console