css Audio - Active file-generic CSS - Active Generic - Active HTML - Active JS - Active SVG - Active Text - Active file-generic Video - Active header Love html icon-new-collection icon-person icon-team numbered-list123 pop-out spinner split-screen star tv

Pen Settings

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

You're using npm packages, so we've auto-selected Babel for you here, which we require to process imports and make it all work. If you need to use a different JavaScript preprocessor, remove the packages in the npm tab.

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

Use npm Packages

We can make npm packages available for you to use in your JavaScript. We use webpack to prepare them and make them available to import. We'll also process your JavaScript with Babel.

⚠️ This feature can only be used by logged in users.

Code Indentation

     

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.

HTML Settings

Here you can Sed posuere consectetur est at lobortis. Donec ullamcorper nulla non metus auctor fringilla. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.

            
              <!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
  <title>Typeform</title>
  <meta name="viewport" content="width=device-width,initial-scale=1">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="x-apple-disable-message-reformatting">
  <link rel="stylesheet" href="https://font.typeform.com/dist/font-email.css">
  <style type="text/css">
    @font-face {
      font-family: apercu-pro;
      font-style: normal;
      font-weight: 400;
      src: local("apercu-pro"), url(https://font.typeform.com/dist/fonts/ApercuPro-Regular.woff2) format("woff")
    }

    body {
      font-family: Arial, Helvetica, sans-serif
    }

    @media all and (max-width: 520px) {
      .hide_on_mobile {
        display: none !important
      }
      .fullwidth {
        width: 100% !important;
        height: auto !important;
        min-width: 100% !important;
        float: none !important
      }
      .padded {
        box-sizing: border-box;
        padding-left: 10px !important;
        padding-right: 10px !important
      }
      .social-icon-2 {
        width: 32px !important;
        padding: 0 8px !important
      }
      .footer-2 {
        padding: 0 0 35px 0 !important
      }
      .love-script {
        width: 170px !important
      }
      .script-col-spacer {
        width: 15% !important
      }
      .script-col-spacer__border {
        border-left: none !important;
        border-right: none !important
      }
      .unsub-text {
        padding-top: 0 !important
      }
      .bodytextlink {
        font-size: 14px !important
      }
      .masthead {
        padding: 0 0 20px 0 !important
      }
      .content {
        padding: 0 !important
      }
      .mobinopad {
        padding-left: 0 !important;
        padding-right: 0 !important;
        padding-top: 20px !important;
        padding-bottom: 10px !important
      }
      .mobipad {
        padding-left: 20px !important;
        padding-right: 20px !important
      }
      .mobiheight {
        height: 30px !important
      }
      #tagline {
        text-align: center !important;
        padding-bottom: 20px !important
      }
      #logo {
        width: 40px !important;
        margin-left: 20px !important
      }
      .hero {
        width: 280px !important;
        height: auto !important
      }
      .hero--full-width {
        width: 100% !important;
        height: auto !important
      }
      .headline {
        font-size: 20px !important
      }
      .headline1 {
        font-size: 18px !important;
        padding-top: 20px !important
      }
      .heading {
        padding-left: 20px !important;
        padding-right: 20px !important
      }
      .button {
        font-size: 16px !important
      }
      .boxcontent {
        font-size: 16px !important;
        padding-top: 20px !important;
        padding-bottom: 20px !important
      }
      .body {
        padding-left: 20px !important;
        padding-right: 20px !important;
        font-size: 14px !important
      }
      .bodytext {
        font-size: 14px !important
      }
      .bodylist {
        font-size: 14px !important
      }
      .footer {
        font-size: 12px !important
      }
      .half-left {
        width: 60% !important
      }
      .half-right {
        width: 40% !important
      }
      .unsub td {
        padding-top: 30px !important;
        font-size: 12px !important
      }
      .mobiwrap {
        display: block
      }
      .borders {
        border-left: none !important;
        border-right: none !important
      }
      .sideimg {
        display: none
      }
      .boxtext {
        background-image: url();
        background-size: 80px;
        background-position: right bottom;
        background-repeat: no-repeat;
      }
      .boxtext-alt {
        background-image: url();
        background-size: 120px;
        background-position: right bottom;
        background-repeat: no-repeat;
      }
      .boxpad {
        padding-top: 20px !important
      }
      .mobiborder {
        border-top: 1px solid #e7e7e7 !important
      }
      .mobitoppad {
        padding-top: 30px !important
      }
      .mobilessbot {
        padding-bottom: 10px !important
      }
      .templates {
        padding-top: 10px !important
      }
      .templates-mobile {
        display: block;
        height: 125px;
        width: 332px;
        background: url() no-repeat;
        background-size: 100%;
        background-position: center;
        margin: 0 auto 20px auto
      }
      .feature-icon-cell {
        padding-right: 20px !important
      }
      .feature-icon {
        width: 45px !important
      }
      .undo-valign {
        vertical-align: top !important;
        padding-top: 10px !important;
      }
      .remove-outlook-padding {
        padding-top: 0 !important
      }
    }

    @media screen {
      .avenir,
      .webfont1 {
        font-family: apercu-pro, sans-serif !important
      }
      .trans30 {
        color: rgba(0, 0, 0, 0.31) !important
      }
      .trans30white {
        color: rgba(255, 255, 255, 0.41) !important
      }
      .social-icon {
        vertical-align: middle !important;
      }
    }
  </style>

</head>

<body marginheight="0" marginwidth="0" topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0" bgcolor="#FFFFFF" style="margin:0;padding:0;font-family:Arial,Helvetica,sans-serif;-webkit-text-size-adjust:none;margin:0;padding:0;-webkit-text-size-adjust:none;">
  <div style="display:none;font-size:1px;color:#FFFFFF;line-height:1px;max-height:0px;max-width:0px;opacity:0;overflow:hidden;">We just hired a professional photographer for your typeform. Thousands of them, actually. With our new Unsplash integration it’s never been easier to stand out from the crowd. Oh, and did we mention it's free?</div>
  <table border="0" cellpadding="0" cellspacing="0" width="100%" bgcolor="#FFFFFF" class="fullwidth" style="border-collapse:collapse">
    <tr>
      <td>
        <table border="0" cellpadding="0" cellspacing="0" width="800" class="fullwidth" align="center" style="border-collapse:collapse;margin:auto;min-width:800px">
          <tr>
            <td style="padding:30px 30px 20px 30px" class="masthead">
              <table border="0" cellpadding="0" cellspacing="0" width="400" class="fullwidth" align="right">
              </table>
              <a href="https://www.typeform.com/blog/news/unsplash-integration/?utm_source=autopilot&utm_medium=email&utm_campaign=unsplash&utm_content=logo" style="color:#e4b83a;text-decoration:none;display:block;float:left" id="logo"><img src="https://s3.amazonaws.com/typeform-marketing-images/Unsplash%2Btypeform.png" width="240" alt="t" style="-ms-interpolation-mode:bicubic;display:block;border:none"></a>
            </td>
          </tr>
          <tr>
            <td>
              <div mc:repeatable="Hero Section">
                <table border="0" cellpadding="0" cellspacing="0" width="100%" style="border-collapse:collapse">
                  <tr>
                    <td style="padding:0 30px" class="content">
                      <table border="0" cellpadding="0" cellspacing="0" width="740" class="fullwidth borders" bgcolor="#74BEC9" style="border-collapse:collapse;">
                        <tr>
                          <td align="center">
                            <a title="Typeform + Unsplash" href="https://www.typeform.com/blog/news/unsplash-integration/?utm_source=autopilot&utm_medium=email&utm_campaign=unsplash&utm_content=unsplash-integration" style="color:#e4b83a;text-decoration:none"><img src="https://s3.amazonaws.com/typeform-marketing-images/Typeform-Blog-Unsplash-newsletter-02.gif" width="740" alt="Learn more" style="-ms-interpolation-mode:bicubic;display:block;border:none;margin:auto" class="hero--full-width fullwidth" mc:edit="hero image"></a>
                          </td>
                        </tr>
                      </table>
                      <table border="0" cellpadding="0" cellspacing="0" width="740" class="fullwidth borders" style="border-collapse:collapse;border-bottom:1px solid #e7e7e7">
                        <tr>
                          <td style="padding:30px 0 0 0;text-align:center;font-family:sans-serif;font-weight:500;font-size:24px;color:#DD3700" class="avenir" mc:edit="number">Bye-bye boring backgrounds</td>
                        </tr>
                        <tr>
                          <td style="padding:20px 80px 0 80px;font-family:sans-serif;font-size:16px;line-height:167%;font-weight:400;color:#343333;text-align:center" class="avenir body mobipad" mc:edit="copy">
                            <p style="Margin-bottom:1em;margin-top:0;padding-top:0">We just hired a professional photographer for your typeform. Thousands of them, actually. With our new Unsplash integration it’s never been easier to stand out from the crowd. Oh, and did we mention it's free?</p>
                          </td>
                        </tr>
                        <tr>
                          <td class="avenir" align="center" style="font-family:'Avenir Next','AvenirNext',Avenir,sans-serif !important;padding:20px 0 40px 0;" mc:edit="button">
                            <!--[if mso]>
                                <table border="0" cellpadding="0" cellspacing="0" align="center" bgcolor="#343333">
                                  <tr>
                                    <td align="center">
                              <![endif]-->
                            <div align="center">
                              <a href="https://www.typeform.com/blog/news/unsplash-integration/?utm_source=autopilot&utm_medium=email&utm_campaign=unsplash&utm_content=unsplash-integration" style="text-decoration:none;color:#FFFFFF;background-color:#343333;display:inline-block;padding:15px;margin:auto;border:2px solid #343333;border-radius:3px;font-size:18px;font-weight:600;"
                                class="avenir button">Take your pic</a>
                            </div>
                            <!--[if mso]>
                              </td>
                            </tr>
                          </table>
                              <![endif]-->
                          </td>
                        </tr>
                      </table>
                    </td>
                  </tr>
                </table>
              </div>
            </td>
          </tr>
          <tr>
            <td>
              <!-- START FOOTER (LIGHT BG) -->
              <table border="0" cellpadding="0" cellspacing="0" width="100%">
                <tr>
                  <td style="padding:60px 0 0 0;text-align:center;font-weight:400;font-size:14px;line-height:167%;color:#6C737A" class="webfont1">
                    <!-- web site links -->
                    <a href="https://admin.typeform.com/?utm_source=autopilot&utm_medium=email&utm_campaign=unsplash&utm_content=footer_login_link" style="text-decoration:none;color:#343333">Log in to Typeform</a>&nbsp; &nbsp;&#124;&nbsp; &nbsp;<a href="https://www.typeform.com/help/?utm_source=autopilot&utm_medium=email&utm_campaign=unsplash&utm_content=footer_help_link"
                      style="text-decoration:none;color:#343333">Visit the Help Center</a>&nbsp; &nbsp;&#124;&nbsp; &nbsp;<a href="https://www.typeform.com/blog/?utm_source=autopilot&utm_medium=email&utm_campaign=unsplash&utm_content=footer_blog_link" style="text-decoration:none;color:#343333">Read our Blog</a>
                  </td>
                </tr>
                <tr>
                  <td style="padding:50px 0;text-align:center">
                    <!-- social icons -->
                    <a href="https://www.facebook.com/typeform"><img src="https://s3.amazonaws.com/typeform-marketing-images/Facebook30.png" width="30" alt="fb" style="padding:0 5px"></a>&nbsp;
                    <a href="https://twitter.com/typeform"><img src="https://s3.amazonaws.com/typeform-marketing-images/Twitter30.png" width="30" alt="tw" style="padding:0 5px"></a>&nbsp;
                    <a href="https://www.instagram.com/typeform"><img src="https://s3.amazonaws.com/typeform-marketing-images/Instagram30.png" width="30" alt="in" style="padding:0 5px"></a>&nbsp;
                    <a href="https://www.youtube.com/channel/UC2nRv6J0FsJVePJTLhUDKgg"><img src="https://s3.amazonaws.com/typeform-marketing-images/Youtube30.png" width="30" alt="yt" style="padding:0 5px"></a>&nbsp;
                    <a href="https://www.linkedin.com/company/typeform-com"><img src="https://s3.amazonaws.com/typeform-marketing-images/Linkedin30.png" width="30" alt="li" style="padding:0 5px"></a>
                  </td>
                </tr>
                <tr>
                  <td>
                    <!-- tagline -->
                    <table border="0" cellpadding="0" cellspacing="0" align="center" style="margin:auto">
                      <tr>
                        <td height="30" style="padding:0 5px 0 0"><img src="https://s3.amazonaws.com/typeform-marketing-images/map+map+map.png" width="12"></td>
                        <td style="font-weight:400;font-size:14px;color:#343333" class="webfont1" valign="middle">With love, from Barcelona</td>
                      </tr>
                    </table>
                  </td>
                </tr>
                <tr>
                  <td style="padding:50px 0 60px 0;font-weight:400;font-size:14px;line-height:200%;color:#343333;text-align:center" class="webfont1">
                    <!-- unsubscribe -->
                    Don't want to hear from us anymore?<br> That’s okay, you can <a href="--unsubscribe--" style="color:#000;text-decoration:none;display:inline-block;border-bottom:1px solid #000">unsubscribe</a>. We'll be sad, but no hard feelings.
                  </td>
                </tr>
              </table>
              <!-- END FOOTER (LIGHT BG) -->
            </td>
          </tr>
        </table>
      </td>
    </tr>
  </table>
</body>

</html>
            
          
!
999px
🕑 One or more of the npm packages you are using needs to be built. You're the first person to ever need it! We're building it right now and your preview will start updating again when it's ready.
Loading ..................

Console