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

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

<!-- 
Image Background Event Version 2
Updated by Chris Broughton, April 2019
Adjust Logo width on line 15
Adjust Background Colour Overlay on line 16
Change Logo on line 20
Change rep name and email address on line 23
Change role & company on line 25
Change CTA Button text & link on line 27
Change image link on line 29
-->

<style type="text/css">
  
#logo img{width:30%;}  /* Image Width Adjustment */

.overlay{background: #000; /*Adjust Background Colour*/

height: 100%; width: 100%; position: absolute; top: 0px; left: 0px; z-index: 2;opacity: 0.7;}.intro-headline{color: #FFFFFF; font-family:"Whitney","Helvetica Neue","Helvetica",Arial,sans-serif; font-size: 20px; font-weight: 300; margin-top: 20px;}.intro-tagline{font-size: 5vw; margin: 7px 0 !important;}.intro-tagline{color: rgba(255,255,255,0.6); font-size: 13.6px; margin: 5px 0;}.intro-headline, .intro-tagline{letter-spacing: 2px; margin-bottom: 0; text-transform: uppercase;}.intro-tagline-date::after{content: "|"; margin: 0 15px;}.intro-inner{z-index: 3!important; transform: translateZ(0); display: block; position: relative; text-align: center; z-index: 2; margin-top: 8%;}div{display: block;}body{background-color: #fff; font-family: "Whitney SSm A","Whitney SSm B","Helvetica Neue","Helvetica",Arial,sans-serif; -webkit-font-smoothing: antialiased; overflow: hidden;}.intro-image{min-height: 100%; max-height: 100%; height: 100%; position: absolute; top: 50%; left: 50%; transform: translateX(-50%) translateY(-50%) translateZ(0); width: 100%; object-fit: cover; overflow: hidden;}#js-header-register{position: absolute; top: 50%; left: 50%; z-index: 99999; transform: translate(-50%, 250%); text-decoration: none; border-radius: 4px; display: block;}.hide{display: none;}.intro-headline, a{font-size: 7vw; text-decoration: none; color: white; margin-top: 2% !important;}.intro-tagline{font-size: 5vw; margin: 7px 0 !important;}.sc-section--intro{padding-top: 0px; padding-bottom: 0px;}a.button.light, button.button.light{border-color: #313132; color: #313132;}a.button, button.button{display: inline-block; margin-bottom: 0; font-weight: 400; text-align: center; vertical-align: middle; -ms-touch-action: manipulation; touch-action: manipulation; cursor: pointer; background-image: none; white-space: nowrap; padding: 6px 12px; line-height: 1.42857; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; border-radius: 40px; font-size: 12px; font-weight: 700; letter-spacing: 1px; padding: 12px 20px; text-transform: uppercase; text-decoration: none; background-color: white; border: 1px solid; transition: .3s ease all; -webkit-transition:all 0.5s ease-out; -moz-transition:all 0.5s ease-out; -ms-transition:all 0.5s ease-out; -o-transition:all 0.5s ease-out; transition:all 0.5s ease-out;}input, button, select, textarea{margin: 0;}a.button.light:hover,a.button.light:focus,button.button.light:hover,button.button.light:focus{background-color:#313132;color:#fff;text-decoration:none -webkit-transform:scale(1.3); -moz-transform:scale(1.3); -ms-transform:scale(1.3); -o-transform:scale(1.3); transform:scale(1.3);}@media only screen and (max-width: 600px){button,a.button.light:hover,a.button.light:focus,button.button.light:hover,button.button.light:focus{transform:scale(0.7);}}</style><div id="intro" class="sc-section--intro"> <div class="intro-inner"> <div id="logo">
<!--LOGO URL--> 
<img src="https://vyexample.com/cbroughton/vidyard-horizontal-white.svg"</div><h2 class="intro-headline">
<!--NAME--> 
<a href="mailto:sales@vidyard.com">FIRSTNAME LASTNAME</a></h2> <p class="intro-tagline">
<!--ROLE/DEPT/COMAPNY--> 
<span class="intro-tagline-date">Role, Dept</span>Company</p>
<!--BUTTON-->  
<a href="https://knowledge.vidyard.com" target="_blank"><button class="button light">Book a meeting with me!</button></a></div></div><div class="overlay"></div>
<!--IMAGE BACKGROUND-->  
<img class="intro-image" src="http://s3-us-west-2.amazonaws.com/techvibes/wp-content/uploads/2017/08/18162921/Vidyard-Office-Killer-Spaces-18.jpg" /></img>
</div>
              
            
!

CSS

              
                
              
            
!

JS

              
                
              
            
!
999px

Console