Skip to content

Instantly share code, notes, and snippets.

HTeuMeuLeu hteumeuleu

Block or report user

Report or block hteumeuleu

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View amp4email-hello-world.html
<!doctype html>
<html amp4email>
<head>
<meta charset="utf-8">
<script async src="https://cdn.ampproject.org/v0.js"></script>
<script async custom-element="amp-bind" src="https://cdn.ampproject.org/v0/amp-bind-0.1.js"></script>
<style amp4email-boilerplate>body { visibility:hidden }</style>
</head>
<body>
<h1 [text]="'Bonjour ' + state.username + '&nbsp;!'">
@hteumeuleu
hteumeuleu / vml-oned.html
Created Mar 21, 2019
VML onEd Attribute
View vml-oned.html
<!DOCTYPE html>
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" lang="en">
<head>
<meta charset="UTF-8" />
<title>VML onEd</title>
</head>
<body>
<h1>onEd</h1>
<v:rect fillcolor="green" style="width:100px; height:100px;"></v:rect>
<v:rect fillcolor="yellow" style="position:relative; left:100px; width:100px; height:100px;"></v:rect>
@hteumeuleu
hteumeuleu / outlook-universe.md
Last active Feb 18, 2019
The Outlook Universe
View outlook-universe.md
@hteumeuleu
hteumeuleu / darkModeHandler.ts
Last active Nov 6, 2019
Outlook.com darkModeHandler
View darkModeHandler.ts
import ContentHandler from '../schema/ContentHandler';
import { transformElementForDarkMode, AlteredElement } from 'owa-dark-mode-utilities';
import {
ATTR_COLOR,
ATTR_BGCOLOR,
DATA_OG_STYLE_COLOR,
DATA_OG_ATTR_COLOR,
DATA_OG_STYLE_BACKGROUNDCOLOR,
DATA_OG_ATTR_BGCOLOR,
} from 'owa-content-colors';
@hteumeuleu
hteumeuleu / the-fab-four-outlook-com-dark-mode.html
Last active Oct 24, 2018
The Fab Four in Outlook.com dark mode
View the-fab-four-outlook-com-dark-mode.html
<div class="rps_ef59"><style type="text/css"><!-- .rps_ef59 html, .rps_ef59 body
{ min-width: 260px; min-height: 100%; padding: 0; margin: 0 auto; background: #fff; }
.rps_ef59 a img
{ border: none; }
.rps_ef59 .x_ReadMsgBody
{ width: 100%; }
.rps_ef59 .x_ExternalClass
{ width: 100%; }
.rps_ef59 .x_ExternalClass *
{ line-height: 100%; }
@hteumeuleu
hteumeuleu / apple-arkit2-ios12-test.html
Created Sep 26, 2018
Apple AR Kit 2 in an email test
View apple-arkit2-ios12-test.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>iOS 12 ARKit 2</title>
<style>
body { font:1em "SF Pro Display", "SF Pro Icons", "Helvetica Neue", "Helvetica", "Arial", sans-serif; }
a { color:#0070c9; }
</style>
<meta name="x-apple-disable-message-reformatting" />
@hteumeuleu
hteumeuleu / gmail.html
Created Aug 24, 2018
Gmail Confidential Mode Email
View gmail.html
<html>
<head></head>
<body>
<div style="width: 100%; padding: 24px 0 16px 0; background-color: #f5f5f5; text-align: center;">
<div style="display: inline-block; width: 90%; max-width: 680px; min-width: 280px; text-align: left; font-family: Roboto,Arial,Helvetica,sans-serif; font-size: 13px;" dir="ltr">
<div style="display: block; padding: 0 2px;">
<div style="display: block; background: #fff; height: 2px;"></div>
</div>
<div style="border-left: 1px solid f0f0f0; border-right: 1px solid #f0f0f0; border-bottom: 1px solid #f0f0f0;">
<div style="padding: 24px 32px 24px 32px; background: #fff; border-right: 1px solid #eaeaea; border-left: 1px solid #eaeaea; border-bottom: 1px solid #eaeaea;">
@hteumeuleu
hteumeuleu / mso-allowpng.html
Created Jul 6, 2018
Is AllowPNG actually useful ?
View mso-allowpng.html
<!DOCTYPE html>
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" lang="fr">
<head>
<meta charset="UTF-8">
<title>Document</title>
<!--[if mso]>
<xml>
<o:OfficeDocumentSettings>
<o:AllowPNG/>
<o:PixelsPerInch>96</o:PixelsPerInch>
@hteumeuleu
hteumeuleu / img-video.html
Created Jun 19, 2018
Testing support for <img src="video.mp4"> in email clients
View img-video.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Testing support for &lt;img src="video.mp4"&gt; in email clients</title>
<style>
body { font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif; }
</style>
</head>
<body>
@hteumeuleu
hteumeuleu / outlook-adaptive-card-flight.html
Created May 7, 2018
Outlook Adaptive Card - Flight Itinerary Example
View outlook-adaptive-card-flight.html
<div class="_14Jtf8DbUC3EHtjC4hMK4V"><div class="ac-container" tabindex="0" aria-label="<s>Your flight is confirmed for you and 3 other passengers from San Francisco to Amsterdam on Friday, October 10 8:30 AM</s>" style="display: flex; flex-direction: column; justify-content: flex-start; background-color: rgb(255, 255, 255); box-sizing: border-box; flex: 0 0 auto; padding: 20px;"><div class="ac-columnSet" style="display: flex; justify-content: flex-start; box-sizing: border-box; flex: 0 0 auto;"><div class="ac-container" style="display: flex; flex-direction: column; justify-content: center; box-sizing: border-box; min-width: 0px; flex: 1 1 50px;"><div style="overflow: hidden; font-family: &quot;Segoe UI&quot;; text-align: left; font-size: 17px; line-height: 22.61px; color: rgb(51, 51, 51); font-weight: 400; white-space: nowrap; text-overflow: ellipsis; box-sizing: border-box; flex: 0 0 auto;"><p style="margin-top: 0px; width: 100%; overflow: hidden; text-overflow: ellipsis; margin-bottom: 0px;"><strong>FLIGHT
You can’t perform that action at this time.