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

              
                       <div id="enhancr2_6be21b1f-0d11-9952-73ba-03ee8ef4e1e8" class="yahoo-link-enhancr-card  ymail-preserve-class ymail-preserve-style" style="max-width:400px;font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;" contenteditable="false" data-url="https://www.youtube.com/watch?v=S_1XgniPIB8" data-type="yenhancr" data-category="video" data-embed-url="https://www.youtube.com/embed/S_1XgniPIB8?feature=oembed&amp;autoplay=1&amp;showinfo=0&amp;modestbranding=1&amp;enablejsapi=1" data-size="medium" dir="ltr">
            <a href="https://www.youtube.com/watch?v=S_1XgniPIB8" style="text-decoration:none !important; color: #000 !important;" class="yahoo-enhancr-cardlink" target="_blank" rel="noreferrer" id="yui_3_16_0_ym19_1_1460434308529_70779">
               <table class="card-wrapper yahoo-ignore-table" cellpadding="0" cellspacing="0" border="0" style="max-width:400px;" id="yui_3_16_0_ym19_1_1460434308529_70778">
                  <tbody id="yui_3_16_0_ym19_1_1460434308529_70777">
                     <tr id="yui_3_16_0_ym19_1_1460434308529_70776">
                        <td width="400" id="yui_3_16_0_ym19_1_1460434308529_70775">
                           <table class="card yahoo-ignore-table" cellpadding="0" cellspacing="0" border="0" width="100%" style="max-width:400px;" id="yui_3_16_0_ym19_1_1460434308529_70774">
                              <tbody id="yui_3_16_0_ym19_1_1460434308529_70773">
                                 <tr id="yui_3_16_0_ym19_1_1460434308529_70772">
                                    <td class="card-primary-image-cell" style="background:#000 url('https://s.yimg.com/vv//api/res/1.2/sU0a4eCGCa4LSuKWLawxHA--/YXBwaWQ9bWFpbDtmaT1maWxsO2g9MjAwO3c9NDAw/https://i.ytimg.com/vi/S_1XgniPIB8/hqdefault.jpg.cf.jpg') no-repeat center center;background-size:cover;height:200px;position:relative;" background="https://s.yimg.com/vv//api/res/1.2/sU0a4eCGCa4LSuKWLawxHA--/YXBwaWQ9bWFpbDtmaT1maWxsO2g9MjAwO3c9NDAw/https://i.ytimg.com/vi/S_1XgniPIB8/hqdefault.jpg.cf.jpg" bgcolor="#000000" valign="top" id="yui_3_16_0_ym19_1_1460434308529_70771">
                                       <!--[if gte mso 9]>
                                       <v:rect fill="true" stroke="false" style="width:400px;height:218px;position:absolute;top:0;left:0;">
                                          <v:fill type="frame" color="#000000" src="https://s.yimg.com/vv//api/res/1.2/sU0a4eCGCa4LSuKWLawxHA--/YXBwaWQ9bWFpbDtmaT1maWxsO2g9MjAwO3c9NDAw/https://i.ytimg.com/vi/S_1XgniPIB8/hqdefault.jpg.cf.jpg"/>
                                       </v:rect>
                                       <![endif]--> 
                                       <table class="yahoo-ignore-table" cellpadding="0" cellspacing="0" border="0" valign="top" style="width:100%;" id="yui_3_16_0_ym19_1_1460434308529_70770">
                                          <tbody id="yui_3_16_0_ym19_1_1460434308529_70769">
                                             <tr id="yui_3_16_0_ym19_1_1460434308529_70768">
                                                <td style="background:transparent url('https://s.yimg.com/nq/storm/assets/enhancrV2/12/overlay-tile.png') repeat left top;height:200px;" background="https://s.yimg.com/nq/storm/assets/enhancrV2/12/overlay-tile.png" bgcolor="transparent" valign="top" id="yui_3_16_0_ym19_1_1460434308529_70767">
                                                   <!--[if gte mso 9]>
                                                   <v:rect fill="true" stroke="false" style="width:400px;height:218px;position:absolute;top:-18px;left:0;">
                                                      <v:fill type="pattern" color="#000000" src="https://s.yimg.com/nq/storm/assets/enhancrV2/12/overlay-tile.png"/>
                                                      <v:textbox inset="0,0,20px,0">
                                                         <![endif]--> 
                                                         <table class="yahoo-ignore-table" height="185" style="width:100%;height:185px;min-height:185px;" id="yui_3_16_0_ym19_1_1460434308529_70766">
                                                            <tbody id="yui_3_16_0_ym19_1_1460434308529_70765">
                                                               <tr id="yui_3_16_0_ym19_1_1460434308529_70764">
                                                                  <td class="card-richInfo2" style="text-align:left;text-align:left;padding:15px 0 0 15px;vertical-align:top;">  </td>
                                                                  <td class="card-actions" style="text-align:right;padding:15px 15px 0 0;vertical-align:top;" id="yui_3_16_0_ym19_1_1460434308529_70763">
                                                                     <div class="card-share-container"></div>
                                                                  </td>
                                                               </tr>
                                                            </tbody>
                                                         </table>
                                                         <!--[if gte mso 9]>
                                                      </v:textbox>
                                                   </v:rect>
                                                   <![endif]--> 
                                                </td>
                                             </tr>
                                          </tbody>
                                       </table>
                                    </td>
                                 </tr>
                                 <tr>
                                    <td>
                                       <table class="card-info yahoo-ignore-table" align="center" cellpadding="0" cellspacing="0" border="0" style="background:#fff;position:relative;z-index:2;width:95%;max-width:380px;border:1px solid #e0e4e9;border-bottom:3px solid #e52d27;margin-top:-40px;margin-left:auto;margin-right:auto;">
                                          <tbody>
                                             <tr>
                                                <td style="background-color:#ffffff;padding:16px 0 16px 12px;vertical-align:top;"> <img class="card-object-1 yahoo-ignore-inline-image ymail-preserve-class" src="https://s.yimg.com/nq/storm/assets/enhancrV2/23/logos/youtube.png" height="32" style="min-width:32px;border:1px solid #e0e4e9;margin-top:3px;" data-id="47363643-621b-9049-f582-9738bde4d72b">  </td>
                                                <td style="vertical-align:middle;padding:16px 12px;width:99%;">
                                                   <h2 class="card-title" style="font-size: 16px; line-height:19px; margin:0 0 4px 0;font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;word-break:break-word;">Never Say No to Panda - Office</h2>
                                                   <div class="card-description" style="font-size:11px;line-height:15px;color:#999;word-break:break-word;"></div>
                                                </td>
                                                <td style="text-align:right;padding:16px 12px 16px 0;">  </td>
                                             </tr>
                                          </tbody>
                                       </table>
                                    </td>
                                 </tr>
                              </tbody>
                           </table>
                        </td>
                     </tr>
                  </tbody>
               </table>
            </a>
         </div>
              
            
!

CSS

              
                
              
            
!

JS

              
                
              
            
!
999px

Console