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>
<html lang="en" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office">
<head>
	<meta charset="UTF-8">
	<title>Making Emails React to Outlook.com’s Dark Mode — HTeuMeuLeu</title>
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<link rel="icon shortcut" href="https://www.hteumeuleu.com/favicon.ico">
	<meta name="format-detection" content="telephone=no, date=no, address=no, email=no" />
  <meta name="supported-color-schemes" content="light dark">
  <style>:root { supported-color-schemes: light dark; }</style>
	<style id="hteumeuleu-css-dark-mode">
    @media (prefers-color-scheme: dark) {
      .hteumeuleu-dark-background:not([class^="x_"]) { background: #222 !important; }
      .hteumeuleu-dark-text:not([class^="x_"]) { color:#fff !important; }
      .hteumeuleu-dark-hero:not([class^="x_"]) { background-color:#7f680b !important; }
    }
	</style>
  <style id="hteumeuleu-css-dark-mode-outlook-com">
    [data-ogsb] .hteumeuleu-dark-background { background-color: #222 !important; }
    [data-ogsb] .hteumeuleu-dark-text { color: #fff !important; }
    [data-ogsb] .hteumeuleu-dark-hero { background-color: #7f680b !important; }
  </style>
	<!--[if mso]>
	<xml>
	<o:OfficeDocumentSettings>
		<o:PixelsPerInch>96</o:PixelsPerInch>
	</o:OfficeDocumentSettings>
	</xml>
	<![endif]-->
</head>
<body style="min-width:280px; margin:0; -webkit-text-size-adjust:none; text-size-adjust:none; background:#fff;" class="hteumeuleu-dark-background">
	<div lang="en" style="background:#fff" class="hteumeuleu-dark-background">
    <p style="margin:0; text-align:center; background:#ffd52c;" class="hteumeuleu-dark-hero"><img src="https://i.imgur.com/0dyWNuM.png" alt="" style="width:100%; max-width:600px; display:block; margin:0 auto;" width="600" /></p>
    <!--[if mso]>
	  <table border="0" cellpadding="0" cellspacing="0" role="presentation" align="center" style="width:600px;"><tr><td>
	  <![endif]-->
    <div style="max-width:600px; margin:0 auto;">
      <table border="0" cellpadding="0" cellspacing="0" role="presentation" align="center" style="width:100%; margin:0 auto;">
        <tr>
          <td style="padding:16px;">
            <h1 style="margin:0 0 16px; color:#070b0a; font:bold 32px/1.5 serif;" class="hteumeuleu-dark-text">The Identifiable Victim Effect</h1>
            <p style="margin:0 0 16px; color:#273d37; font:300 20px/1.5 sans-serif;" class="hteumeuleu-dark-text">
              We tend to offer more aid when a specific individual is in need than when a group is in need.
            </p>
            <table border="0" cellpadding="0" cellspacing="0" role="presentation" style="background:#000; width:210px; border-radius:4px;" class="hteumeuleu-button">
              <tr>
                <td style="mso-padding-alt:16px; text-align:center;">
                  <a href="https://www.opendoodles.com/" style="display:block; padding:16px; text-align:center; font:500 16px/20px sans-serif; color:#fff; text-decoration:none;">Button Text</a>
                </td>
              </tr>
            </table>
            <p style="margin:16px 0 0; color:#273d37; font:10px/1.5 sans-serif;" class="hteumeuleu-dark-text">
              Illustration and design based on <a href="https://doodles-site-example.webflow.io" style="color:#273d37;" class="hteumeuleu-dark-text">doodles-site-example.webflow.io</a>.
            </p>
          </td>
        </tr>
      </table>
    </div>
    <!--[if mso]>
    </td></tr></table>
	  <![endif]-->
	</div>
</body>
</html>
              
            
!

CSS

              
                
              
            
!

JS

              
                
              
            
!
999px

Console