Skip to content

Commit

Permalink
html email snippets
Browse files Browse the repository at this point in the history
html email snippets
  • Loading branch information
Josh Soberdash committed Sep 19, 2018
1 parent 401fda0 commit e2c11fb
Show file tree
Hide file tree
Showing 57 changed files with 2,214 additions and 0 deletions.
40 changes: 40 additions & 0 deletions Email-Framework-master/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# Email Framework

The HTML Email Framework developed to help you build responsive HTML email templates.

### Getting Started

* [Documentation](http://emailframe.work "Title")
* [Download](https://github.com/g13nn/Email-Framework/archive/master.zip "Title")

### Support

Need some help, or have a question. Get in touch:

* <hello@glennsmith.me>
* [Submit an Issue](https://github.com/g13nn/Email-Framework/issues/new "Title")

### License

```
Copyright (C) 2017 Glenn Smith
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
The above copyright notice and this permission notice shall be included
in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
```
26 changes: 26 additions & 0 deletions Email-Framework-master/boilerplate.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="X-UA-Compatible" content="IE=edge">

<title></title>

<style type="text/css">

</style>
</head>
<body style="margin:0; padding:0; background-color:#F2F2F2;">
<center>
<table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#F2F2F2">
<tr>
<td align="center" valign="top">


</td>
</tr>
</table>
</center>
</body>
</html>
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<table width="200" height="44" cellpadding="0" cellspacing="0" border="0" bgcolor="#2b3a63" style="border-radius:4px;">
<tr>
<td align="center" valign="middle" height="44" style="font-family: Arial, sans-serif; font-size:14px; font-weight:bold;">
<a href="#" target="_blank" style="font-family: Arial, sans-serif; color:#ffffff; display: inline-block; text-decoration: none; line-height:44px; width:200px; font-weight:bold;">Button</a>
</td>
</tr>
</table>
7 changes: 7 additions & 0 deletions Email-Framework-master/components/buttons/button-ghost.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<table width="200" height="44" cellpadding="0" cellspacing="0" border="0" bgcolor="#2b3a63" style="border-radius:4px;">
<tr>
<td align="center" valign="middle" height="44" style="font-family: Arial, sans-serif; font-size:14px; font-weight:bold;">
<a href="#" target="_blank" style="font-family: Arial, sans-serif; color:#ffffff; display: inline-block; text-decoration: none; line-height:44px; width:200px; font-weight:bold;">Button</a>
</td>
</tr>
</table>
7 changes: 7 additions & 0 deletions Email-Framework-master/components/buttons/button-square.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<table width="200" height="44" cellpadding="0" cellspacing="0" border="0" bgcolor="#2b3a63" style="border-radius:4px;">
<tr>
<td align="center" valign="middle" height="44" style="font-family: Arial, sans-serif; font-size:14px; font-weight:bold;">
<a href="#" target="_blank" style="font-family: Arial, sans-serif; color:#ffffff; display: inline-block; text-decoration: none; line-height:44px; width:200px; font-weight:bold;">Button</a>
</td>
</tr>
</table>
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
<table width="640" height="400" cellpadding="0" cellspacing="0" border="0" class="header" background="http://placehold.it/640x400" style="background-image: url(http://placehold.it/640x400);">
<tr>
<td align="center">
<!--[if gte mso 9]>
<v:rect xmlns:v="urn:schemas-microsoft-com:vml" fill="true" stroke="false" style="width:640px">
<v:fill type="frame" src="http://placehold.it/640x400" color="#ffffff" />
<v:textbox style="mso-fit-shape-to-text:true" inset="0,0,0,0">
<div style="font-size:1px;line-height:1px">
<table width="640" cellspacing="0" cellpadding="0" border="0" align="center">
<tbody>
<tr>
<td height="400" align="center">
<![endif]-->

<table width="600" cellpadding="0" cellspacing="0" border="0" class="container">
<tr>
<td align="center" class="mobile" style="font-family:arial, sans-serif; font-size:20px; line-height:26px; font-weight:bold;">
Testing Modules for the email framework
</td>
</tr>
<tr>
<td height="20" style="font-size:10px; line-height:10px;">&nbsp;</td>
</tr>
<tr>
<td align="center" class="mobile" style="font-family:arial, sans-serif; font-size:14px; line-height:20px;">
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed porta purus porttitor enim scelerisque, vel malesuada lorem mattis. Curabitur ac orci libero.
</td>
</tr>
<tr>
<td height="20" style="font-size:10px; line-height:10px;">&nbsp;</td>
</tr>
<tr>
<td class="mobile" style="font-size:14px; line-height:20px;" align="center">

<table width="200" height="44" cellpadding="0" cellspacing="0" border="0" bgcolor="#2b3a63" style="border-radius:4px;">
<tr>
<td align="center" valign="middle" height="44" style="font-family: Arial, sans-serif; font-size:14px; font-weight:bold;">
<a href="#" target="_blank" style="font-family: Arial, sans-serif; color:#ffffff; display: inline-block; text-decoration: none; line-height:44px; width:200px; font-weight:bold;">Button</a>
</td>
</tr>
</table>

</td>
</tr>
</table>

<!--[if gte mso 9]>
</td>
</tr>
</tbody>
</table>
</div>
</v:textbox>
</v:rect>
<![endif]-->

</td>
</tr>
</table>
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<table width="640" cellpadding="0" cellspacing="0" border="0" class="mobileOff" bgcolor="#FFFFFF">
<tr>
<td align="center">

<table width="640" cellpadding="0" cellspacing="0" border="0" class="container">
<tr>
<td width="600" class="mobile">
<img src="http://placehold.it/640x400" width="640" height="400" style="margin:0; padding:0; border:none; display:block;" border="0" class="imgClass" alt="" />
</td>
</tr>
</table>

</td>
</tr>
</table>

<!--[if !mso]><!-- -->
<div class="mobileOn" style="font-size: 0; max-height: 0; overflow: hidden; display: none">
<table width="320" cellspacing="0" cellpadding="0" border="0" class="wrapper" align="center">
<tr>
<td align="center">
<img src="http://placehold.it/320x300" width="320" height="300" style="margin:0; padding:0; border:none; display:block;" border="0" class="imgClass" alt="" />
</td>
</tr>
</table>
</div>
<!--<![endif]-->
15 changes: 15 additions & 0 deletions Email-Framework-master/components/heros/single-image-hero.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<table width="640" cellpadding="0" cellspacing="0" border="0" class="wrapper" bgcolor="#FFFFFF">
<tr>
<td align="center">

<table width="640" cellpadding="0" cellspacing="0" border="0" class="wrapper">
<tr>
<td width="640" class="wrapper">
<img src="http://placehold.it/640x400" width="640" height="400" style="margin:0; padding:0; border:none; display:block;" border="0" class="imgClass" alt="" />
</td>
</tr>
</table>

</td>
</tr>
</table>
7 changes: 7 additions & 0 deletions Email-Framework-master/components/others/content.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td align="center" valign="top">

</td>
</tr>
</table>
1 change: 1 addition & 0 deletions Email-Framework-master/components/others/image.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<img src="http://placehold.it/100x100" width="100" height="100" style="margin:0; padding:0; border:none; display:block;" border="0" class="img" alt="">
1 change: 1 addition & 0 deletions Email-Framework-master/components/others/link.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<a href="#" target="_blank" style="color:#66cccc; text-decoration:underline;">Link</a>
11 changes: 11 additions & 0 deletions Email-Framework-master/components/others/mobile-hack.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<!--[if !mso]><!-- -->
<div class="mobileOn" style="font-size: 0; max-height: 0; overflow: hidden; display: none">
<table width="100%" cellspacing="0" cellpadding="0" border="0" class="mobile" align="center">
<tr>
<td align="center" valign="top" style="color: #000000; font-size: 12px; line-height: 18px;">

</td>
</tr>
</table>
</div>
<!--<![endif]-->
1 change: 1 addition & 0 deletions Email-Framework-master/components/others/mspace.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<td height="10" style="font-size:10px; line-height:10px;" class="mobileOn">&nbsp;</td>
5 changes: 5 additions & 0 deletions Email-Framework-master/components/others/row.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<tr>
<td align="center" valign="top">

</td>
</tr>
3 changes: 3 additions & 0 deletions Email-Framework-master/components/others/spacer.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<tr>
<td height="10" style="font-size:10px; line-height:10px;">&nbsp;</td>
</tr>
8 changes: 8 additions & 0 deletions Email-Framework-master/components/typography/typograhpy.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<h1 style="margin:0; padding:0; margin-bottom:15px;">Heading</h1>
<h2 style="margin:0; padding:0; margin-bottom:15px;">Heading</h2>
<h3 style="margin:0; padding:0; margin-bottom:15px;">Heading</h3>
<h4 style="margin:0; padding:0; margin-bottom:15px;">Heading</h4>
<h5 style="margin:0; padding:0; margin-bottom:15px;">Heading</h5>
<h6 style="margin:0; padding:0; margin-bottom:15px;">Heading</h6>
<p style="margin:0; padding:0; margin-bottom:15px;">Paragraph</p>
<a href="" target="_blank" style="color:#336699; text-decoration:underline;">Link</a>
Loading

0 comments on commit e2c11fb

Please sign in to comment.