Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jameswragg/cc88deb15d2fcb9973f233a5b2b84e11 to your computer and use it in GitHub Desktop.
Save jameswragg/cc88deb15d2fcb9973f233a5b2b84e11 to your computer and use it in GitHub Desktop.
<!doctype html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office">
<head>
<title> </title>
<!--[if !mso]><!-- -->
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<!--<![endif]-->
<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">
#outlook a {
padding: 0;
}
body {
margin: 0;
padding: 0;
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
}
table,
td {
border-collapse: collapse;
mso-table-lspace: 0pt;
mso-table-rspace: 0pt;
}
img {
border: 0;
height: auto;
line-height: 100%;
outline: none;
text-decoration: none;
-ms-interpolation-mode: bicubic;
}
p {
display: block;
margin: 13px 0;
}
</style>
<!--[if mso]>
<xml>
<o:OfficeDocumentSettings>
<o:AllowPNG/>
<o:PixelsPerInch>96</o:PixelsPerInch>
</o:OfficeDocumentSettings>
</xml>
<![endif]-->
<!--[if lte mso 11]>
<style type="text/css">
.mj-outlook-group-fix { width:100% !important; }
</style>
<![endif]-->
<!--[if !mso]><!-->
<link href="https://fonts.googleapis.com/css?family=Open+Sans:300,400,500,700" rel="stylesheet" type="text/css">
<link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700" rel="stylesheet" type="text/css">
<link href="https://fonts.googleapis.com/css?family=Ubuntu:300,400,500,700" rel="stylesheet" type="text/css">
<style type="text/css">
@import url(https://fonts.googleapis.com/css?family=Open+Sans:300,400,500,700);
@import url(https://fonts.googleapis.com/css?family=Roboto:300,400,500,700);
@import url(https://fonts.googleapis.com/css?family=Ubuntu:300,400,500,700);
</style>
<!--<![endif]-->
<style type="text/css">
@media only screen and (min-width:480px) {
.mj-column-per-100 {
width: 100% !important;
max-width: 100%;
}
}
</style>
<style type="text/css">
noinput.mj-accordion-checkbox {
display: block!important;
}
@media yahoo,
only screen and (min-width:0) {
.mj-accordion-element {
display: block;
}
input.mj-accordion-checkbox,
.mj-accordion-less {
display: none!important;
}
input.mj-accordion-checkbox+* .mj-accordion-title {
cursor: pointer;
touch-action: manipulation;
-webkit-user-select: none;
-moz-user-select: none;
user-select: none;
}
input.mj-accordion-checkbox+* .mj-accordion-content {
overflow: hidden;
display: none;
}
input.mj-accordion-checkbox+* .mj-accordion-more {
display: block!important;
}
input.mj-accordion-checkbox:checked+* .mj-accordion-content {
display: block;
}
input.mj-accordion-checkbox:checked+* .mj-accordion-more {
display: none!important;
}
input.mj-accordion-checkbox:checked+* .mj-accordion-less {
display: block!important;
}
}
.moz-text-html input.mj-accordion-checkbox+* .mj-accordion-title {
cursor: auto;
touch-action: auto;
-webkit-user-select: auto;
-moz-user-select: auto;
user-select: auto;
}
.moz-text-html input.mj-accordion-checkbox+* .mj-accordion-content {
overflow: hidden;
display: block;
}
.moz-text-html input.mj-accordion-checkbox+* .mj-accordion-ico {
display: none;
}
@goodbye {
@gmail
}
</style>
</head>
<body>
<div style="">
<!--[if mso | IE]>
<table
align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:600px;" width="600"
>
<tr>
<td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
<![endif]-->
<div style="background:#ffffff;background-color:#ffffff;margin:0px auto;max-width:600px;">
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="background:#ffffff;background-color:#ffffff;width:100%;">
<tbody>
<tr>
<td style="direction:ltr;font-size:0px;padding:20px;text-align:center;">
<!--[if mso | IE]>
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
<tr>
<td
class="" style="vertical-align:top;width:560px;"
>
<![endif]-->
<div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="background-color:#dededd;vertical-align:top;" width="100%">
<tr>
<td style="font-size:0px;padding:1px;word-break:break-word;">
<table cell-spacing="0" cell-padding="0" class="mj-accordion" style="width:100%;border-collapse:collapse;border:none;border-bottom:none;font-family:Ubuntu, Helvetica, Arial, sans-serif;">
<tbody>
<tr>
<td style="padding:0px;"> <label class="mj-accordion-element" style="font-size:13px;">
<!--[if !mso | IE]><!-->
<input
class="mj-accordion-checkbox" type="checkbox" style="display:none;"
/>
<!--<![endif]-->
<div>
<div class="mj-accordion-title">
<table
cell-spacing="0" cell-padding="0" style="width:100%;border-bottom:none;"
>
<tbody>
<tr>
<td
style="width:100%;background-color:#ffffff;color:#031017;font-size:18px;font-family:Roboto, Open Sans, Helvetica, Arial, sans-serif;padding:15px;"
>
Why use an accordion?
</td>
<!--[if !mso | IE]><!-->
<td
class="mj-accordion-ico" style="padding:16px;background:#ffffff;vertical-align:middle;"
>
<img
src="https://i.imgur.com/Xvw0vjq.png" alt="+" class="mj-accordion-more" style="display:none;width:24px;height:24px;"
/>
<img
src="https://i.imgur.com/KKHenWa.png" alt="-" class="mj-accordion-less" style="display:none;width:24px;height:24px;"
/>
</td>
<!--<![endif]-->
</tr>
</tbody>
</table>
</div>
<div
class="mj-accordion-content"
>
<table
cell-spacing="0" cell-padding="0" style="width:100%;border-bottom:none;"
>
<tbody>
<tr>
<td
style="background:#fafafa;font-size:14px;font-family:Open Sans, Helvetica, Arial, sans-serif;color:#505050;padding:15px;"
>
<span style="line-height:20px">
Because emails with a lot of content are most of the time a very bad experience on mobile, mj-accordion comes handy when you want to deliver a lot of information in a concise way.
</span>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</label> </td>
</tr>
<tr>
<td style="padding:0px;"> <label class="mj-accordion-element" style="font-size:13px;">
<!--[if !mso | IE]><!-->
<input
class="mj-accordion-checkbox" type="checkbox" style="display:none;"
/>
<!--<![endif]-->
<div>
<div class="mj-accordion-title">
<table
cell-spacing="0" cell-padding="0" style="width:100%;border-bottom:none;"
>
<tbody>
<tr>
<td
style="width:100%;background-color:#ffffff;color:#031017;font-size:18px;font-family:Roboto, Open Sans, Helvetica, Arial, sans-serif;padding:15px;"
>
How it works
</td>
<!--[if !mso | IE]><!-->
<td
class="mj-accordion-ico" style="padding:16px;background:#ffffff;vertical-align:middle;"
>
<img
src="https://i.imgur.com/Xvw0vjq.png" alt="+" class="mj-accordion-more" style="display:none;width:24px;height:24px;"
/>
<img
src="https://i.imgur.com/KKHenWa.png" alt="-" class="mj-accordion-less" style="display:none;width:24px;height:24px;"
/>
</td>
<!--<![endif]-->
</tr>
</tbody>
</table>
</div>
<div
class="mj-accordion-content"
>
<table
cell-spacing="0" cell-padding="0" style="width:100%;border-bottom:none;"
>
<tbody>
<tr>
<td
style="background:#fafafa;font-size:14px;font-family:Open Sans, Helvetica, Arial, sans-serif;color:#505050;padding:15px;"
>
<span style="line-height:20px">
Content is stacked into tabs and users can expand them at will. If responsive styles are not supported (mostly on desktop clients), tabs are then expanded and your content is readable at once.
</span>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</label> </td>
</tr>
</tbody>
</table>
</td>
</tr>
</table>
</div>
<!--[if mso | IE]>
</td>
</tr>
</table>
<![endif]-->
</td>
</tr>
</tbody>
</table>
</div>
<!--[if mso | IE]>
</td>
</tr>
</table>
<![endif]-->
</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment