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

              
                <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="de" width="100%" height="100%">
<head>
    <title>Test Responsiveness in GMail</title>
    <meta http-equiv="Content-Type" content="text/html;charset=utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1">
    <style type="text/css">
        *[lang~="gmail-hide"] {display: none !important;}
        *[lang~="gmail-show"] {display: block !important;}
    </style>
    <style type="text/css">
        html {font-size: 100%;-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;height: 100%;}
        body {background-color: #FFFFFF;font-family: 'Trebuchet MS', Helvetica, sans-serif;font-size: 12px;line-height: 1.3;color: #333333;height: 100%;}
        a:link {color: #000001;}
        a:hover {color: #000001;}
        a:active {color: #000001;}
        a:visited {color: #000001;}
        p {margin: 0;padding: 0;margin-bottom: 0;}
        #ForceOutlook2010BrowserLink span {padding: 0px;}
        .yshortcuts {border: none !important;color: inherit;}
        .ReadMsgBody {width: 100%;}
        .ExternalClass {width: 100%;}
    </style>
    <style type="text/css">
        [title~="gmail-selector"] {display: block !important;}
        div[lang~="gmail-selector"] {display: block !important;}
        *[width~="gmail-selector"] {display: block !important;}
        * [height="gmail-selector"] {display: block !important;}
        * [alt~=gmail-selector] {display: block !important;}
        * [href=gmail-selector] {display: block !important;}

		* div[foo] {display:block !important;}
		* div[foo=bar1] {display:block !important;}
		* div[foo~=bar2] {display:block !important;}
		* div[foo^="bar3"] {display:block !important;}
		* div[foo*="bar4"] {display:block !important;}
		* div[foo$="bar5"] {display:block !important;}
        .footer-black a{text-decoration:none;font-size: 13px;line-height: 15px;font-family: 'Trebuchet MS', Helvetica, sans-serif;color:#FFFFFF;}
        .footer-white a{text-decoration:none;font-size: 13px;line-height: 15px;font-family: 'Trebuchet MS', Helvetica, sans-serif;color:#FFFFFF;}
    </style>
    <style type="text/css">

        @media only screen and (max-width: 600px) {
        	.medium-show {display:block !important;}
        	.medium-hide {display:none !important;}
        }

        @media only screen and (max-width: 480px), only screen and (max-device-width: 480px) {
        	.small-show {display:block !important;}
        	.small-hide {display:none !important;}
        }

    </style>

</head>
<body style="margin: 0; padding: 0; background-color: #FFFFFF;" width="100%" height="100%" class="wrap">

  <!--INTRO TEXT-->
<a name="subscconfirm"></a>
<table width="100%" cellspacing="0" cellpadding="0" border="0" align="center" bgcolor="#FFFFFF">
    <tr>
        <td>
            <!--[if (mso)|(IE)]>
            <table align="center" border="0" cellspacing="0" cellpadding="0" width="570">
            <tr>
            <td align="center" valign="top" width="570">
            <![endif]-->
             <div class="intro-subsc" style="display:block;">
            <table class="block medium-liquid" width="100%" cellspacing="0" cellpadding="0" border="0" align="center" style="max-width:570px;">
                <tr>
                    <td class="disclaimer-text medium-x-padding override-date-link" style="padding:5px 0 20px 4px; font-size: 16px; font-family: 'Trebuchet MS', Helvetica, sans-serif;color:#001155;">
                        <div lang="gmail-show" style="display: none;">lang="gmail-show"</div>
                        <div lang="gmail-hide">lang="gmail-hide"</div>
                        <div foo="foo" style="display:none;">E[foo]</div>
                        <div foo="bar1" style="display:none;">E[foo="bar"]</div>
                        <div foo="bar2" style="display:none;">E[foo~="bar"]</div>
                        <div foo="bar3" style="display:none;">E[foo^="bar"]</div>
                        <div foo="bar4" style="display:none;">E[foo*="bar"]</div>
                        <div foo="bar5" style="display:none;">E[foo$="bar"]</div>
                        <div title="gmailselector" style="display:none;">gmail-selector: title</div>
                        <div lang="gmailselector" style="display:none;">gmail-selector: lang</div>
                        <div width="gmail-selector" style="display:none;">gmail-selector: width</div>
                        <div height="gmail-selector" style="display:none;">gmail-selector: height</div>
                        <div alt="gmail-selector" style="display:none;">gmail-selector: alt</div>
                        <div href="gmail-selector" style="display:none;">gmail-selector: href</div>
                    </td>
                </tr>
            </table>
            </div>
            <table class="block medium-liquid" width="100%" cellspacing="0" cellpadding="0" border="0" align="center" style="max-width:570px;">
                <tr>
                    <td class="disclaimer-text medium-x-padding" style="padding:0 0 20px 4px;">
                        <table class="block medium-liquid" width="100%" cellspacing="0" cellpadding="0" border="0" align="center" style="max-width:566px;">
                            <tr>
                                <td style="border-bottom:1px solid #E5E5E5;font-size: 1px;line-height:1px;">&nbsp;</td>
                            </tr>
                        </table>
                    </td>
                </tr>
            </table>
            <!--[if (mso)|(IE)]>
            </td>
            </tr>
            </table>
            <![endif]-->
        </td>
    </tr>
</table>
<!--END:INTRO Text-->
</body>
</html>
              
            
!

CSS

              
                
              
            
!

JS

              
                
              
            
!
999px

Console