Pen Settings



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


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


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.


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.


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

<!--Download Template by Chris Broughton Feb 2020

Change Title on Line 11
Change Link on Line 15 & 24
Change Image on Line 17
Change Description on Line 20

<style>                                           body{background:#fafaff;}.top{display:block; width:100%; height:30%; background:#003366; float:left;border-radius:1vw}h2{color:white;text-align:center;font-family:sans-serif;font-size:5vw;margin-block-start: 0.5em;}.title{width:75%;margin:auto;}.main{height:100%}.mainleft{float:left;display:block;width:40%;height:70%;}.mainright{float:left;display:block;width:60%;height:70%;}img{max-width:35vw;height:29vw;margin:auto;display:block; transition: all .4s; cursor:pointer;}img:hover, img:active, img:focus{box-shadow: 6px 5px 22px 7px rgba(0, 0, 0, 0.15);-webkit-box-shadow: 6px 5px 22px 7px rgba(0, 0, 0, 0.15);-ms-transform: scale(1.05); transform: scale(1.05);}}.cta{height:100%;}.leftcontents{padding-top:9%;}p{font-family:sans-serif; text-align:center; font-size:3vw; padding:2vw;}.description{height:22vw; display:block;}.buttoncontainer{height:9vw; text-align:center;}.button{border-color: white; color: white; background:#003366; font-size: 2vw; padding: 2vw; width: 45%; border-radius:15vw; cursor:pointer; font-family:sans-serif; text-transform: uppercase; transition: all .4s;}button:hover, button:active, button:focus{-ms-transform: scale(1.05); transform: scale(1.05);box-shadow: 6px 5px 22px 7px rgba(0, 0, 0, 0.15);-webkit-box-shadow: 6px 5px 22px 7px rgba(0, 0, 0, 0.15);} a{text-decoration:none;}</style><div class="top"><div class="title">
<!--Title--><h2>Title of CTA (i.e. why is this download so important?)</h2>
</div></div><div class="main"><div class="mainleft"><div class="leftcontents">
<!--Link--> <a href="FILE URL"target="_blank">
<!--Image--> <img src="" caption="false" /></a>
</div></div><div class="mainright"><div class="rightcontents"><div class="description">
<!--Description--><p>Explain further what's in the download and why the viewer will find it interesting. A 3-4 lines of text is perfect. The image on the left should represent the file.</p>
<div class="buttoncontainer">
<!--Link--><a href="FILE URL" target="_blank" onclick="closeCTA()">
<button class="button" type="button">Download Now</button></a>

<script type="text/javascript">
 function closeCTA() {
 API.closeCta({ disablePlay: true });