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.


                <div class="video-wrapper">
  <div class="video-overlay">
    <a class="play-btn">
        <svg version="1.1" id="Layer_1" xmlns:sketch=""
         xmlns="" xmlns:xlink="" x="0px" y="0px" viewBox="-380 289 31 35"
         style="enable-background:new -380 289 31 35;" xml:space="preserve">
      <style type="text/css">
      <desc>Created with Sketch.</desc>
      <g id="aiux" sketch:type="MSPage">
        <g id="tablet---lesson" transform="translate(-411.000000, -184.000000)" sketch:type="MSArtboardGroup">
          <g id="video" transform="translate(80.000000, 0.000000)" sketch:type="MSLayerGroup">
            <g id="viewer" transform="translate(16.000000, 16.000000)" sketch:type="MSShapeGroup">
              <g id="play" transform="translate(279.000000, 135.000000)">
                <path class="st0" d="M-340.5,323c-1.9-1.1-3.5-0.2-3.5,2v29c0,2.2,1.6,3.1,3.5,2.1l26-14.2c1.9-1.1,2-2.8,0-3.9L-340.5,323z"/>

  <script src="//" async></script>
  <iframe src="//" allowtransparency="true" frameborder="0" scrolling="no" class="wistia_embed" id="myVideo" name="wistia_embed" allowfullscreen mozallowfullscreen webkitallowfullscreen oallowfullscreen msallowfullscreen width="640" height="400"></iframe><script src="//"></script>



                $primary: #33bbaa
$black: black

  transition: all .2s ease-out

  width: 100%
  height: 100%
  background-image: radial-gradient(circle, rgba($primary, .25), rgba($black, 1))
  position: absolute
  z-index: 2000 !important
  top: 0
  left: 0

  position: relative

  position: absolute
  width: 55px
  height: 60px
  top: 50%
  left: 50%
  transform: translateY(-50%) translateX(-50%)
  background: rgba($black, .75)
  text-indent: .25em
  padding: 3em
  margin: 0
  border-radius: 50%
    background: rgba($black, .95)
    transform: translateY(-50%) translateX(-50%) scale(1.05)


                // grab Wista API
wistiaEmbed = document.getElementById("myVideo").wistiaApi;

// when the video is stopped
wistiaEmbed.bind("end", function() {

//when the video is paused
wistiaEmbed.bind("pause", function() {

//when the video time changes
wistiaEmbed.bind("secondchange", function() {

// when you click the custom play button
$('.video-overlay').click(function() {;