Skip to content

Instantly share code, notes, and snippets.

@martinratinaud
Last active April 16, 2023 17:11
Show Gist options
  • Select an option

  • Save martinratinaud/3358d552e700a16b1c499dc366daf958 to your computer and use it in GitHub Desktop.

Select an option

Save martinratinaud/3358d552e700a16b1c499dc366daf958 to your computer and use it in GitHub Desktop.
Display subtitle in email clients
<html>
<head>
<style type="text/css">
.preheader {
display: none;
max-height: 0;
overflow: hidden;
visibility: hidden;
font-size: 0;
color: transparent;
line-height: 0;
mso-hide: all;
}
</style>
</head>
<body>
<span class="preheader">I will appear right after the subject </span>
<div style="max-width:660px;margin:8px auto;padding:0 8px;font-family:Helvetica,Arial,sans-serif">
<p>Here is the awesome stuff you want to say</p>
<p>Martin from StakingCrypto.io</p>
</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment