SlideShare ist ein Scribd-Unternehmen logo
1 von 27
Downloaden Sie, um offline zu lesen
Gmail's Responsive
Email Updates
What This Means For Your Email
@M_J_Robbins | @advenix | @ericlepetitsf | @geoff_eoa
Welcome
Mark Robbins
Rebelmail
Justin Khoo
Email on Acid
Eric Lepetit
Nest
@M_J_Robbins | @advenix | @ericlepetitsf | @geoff_eoa
Join the
conversation.
#GmailUpdates
Gmail before the updates
@M_J_Robbins | @advenix | @ericlepetitsf | @geoff_eoa
• Gmail was the main reason why we inlined styles
• Didn’t support media queries
• iOS Gmail app increased your font size
• Non responsive Gmail App replaced responsive native Android App in 2015
• Inconsistencies between Gmail, Inbox, Android app, iOS app, G Suite, Images
off, and Gmail App with Non-Google Accounts (GANGA)
Gmail before the updates
@M_J_Robbins | @advenix | @ericlepetitsf | @geoff_eoa
Source: Remi Parmentier
The New Gmail
@M_J_Robbins | @advenix | @ericlepetitsf | @geoff_eoa
• Supports responsive email
• Supports embedded styles
• Gives responsibility for mobile experience back to designer
• More receptive to input from email community
• Documentation is available
What is now supported in Gmail
@M_J_Robbins | @advenix | @ericlepetitsf | @geoff_eoa
• Embedded styles with classes and IDs (only in <head>)
• Media queries (max-width, min-width, max-device-width, min-device-width)
• Background-position & background-size
• :hover pseudoclass in Gmail webmail
• https://developers.google.com/gmail/design/reference/supported_css
Embedded CSS vs. Inline CSS
@M_J_Robbins | @advenix | @ericlepetitsf | @geoff_eoa
Media Queries
@M_J_Robbins | @advenix | @ericlepetitsf | @geoff_eoa
A block of CSS that is only active at certain client dimensions
• Display or hide elements in mobile
• Change layout - stack columns
• Increase font sizes
• Adjust padding and margins
@media only screen and (max-width:600px) {
.body { font-size:24px !important }
.topmenu { display: none !important }
.download-app { display: block !important }
}
@media only screen and (max-width:600px) {
.body { font-size:24px !important }
.topmenu { display: none !important }
.download-app { display: block !important }
}
Media Queries
@M_J_Robbins | @advenix | @ericlepetitsf | @geoff_eoa
Example image
What is not supported in Gmail?
@M_J_Robbins | @advenix | @ericlepetitsf | @geoff_eoa
Attribute selectors
• Example: div[class=”foo”], *[id^=”foo-”]
Common Webmail limitations
• Web fonts
• Animation, Transitions, Transforms
• Absolute/Fixed position
• Video
• External stylesheets
Pseudo-classes
• :checked
• :hover (on mobile apps and Inbox)
• Used for interactive email
Which Gmail clients have the update?
@M_J_Robbins | @advenix | @ericlepetitsf | @geoff_eoa
✓ Desktop webmail
✓ Mobile webmail
✓ G Suite Basic (Google Apps For Work)
✓ Android app (Gmail account)
✓ Android app (Gmailified account)
✓ Inbox (Desktop webmail)
✓ Inbox (iOS app)
✓ Inbox (Android app)
✘ Google Apps Free Edition
✘ Gmail App with Non-Google
Accounts (POP/IMAP account)
✘ iOS app
Tips and Action Items
Get Your Emails Up to Speed
@M_J_Robbins | @advenix | @ericlepetitsf | @geoff_eoa
Tip 1: Clean up attribute selectors
@M_J_Robbins | @advenix | @ericlepetitsf | @geoff_eoa
Don’t mix classes and attribute selectors
.body { background-color: #000000; }
div[class=”body”] { color: #ffffff; }
Attribute selectors are no longer required inside media queries
(Yahoo! Mail fixed theirbug)
@media (max-width:600px){
div[class=”full-col”] { width: 100%!important }
}
You can use attribute selectors strategically, to hide content from Gmail.
Tip 2: Height → min-height in Inbox
@M_J_Robbins | @advenix | @ericlepetitsf | @geoff_eoa
<img src="triangle.png" width="600" height="200"
style="display:block;width:100%;height:auto;">
Becomes
<img src="triangle.png" width="600" height="200"
style="display:block;width:100%;min-height:auto;">
Tip 3: Image blocking causes style issues
@M_J_Robbins | @advenix | @ericlepetitsf | @geoff_eoa
<style>
.test{
background-image:url(.../image1.jpg);
}
</style>
<div class="test" style="background-image:url(.../image2.jpg);">
Test
</div>
<img src=".../image3.jpg">
Raw Code
Tip 3: Image blocking causes style issues
@M_J_Robbins | @advenix | @ericlepetitsf | @geoff_eoa
<style>
div.m1577ab38264895f1 .m_-5859679698733932272test{
background-image:url();
}
</style>
<div class="m_-5859679698733932272test" style="background-
image:url();">
Test
</div>
<img src=" ">
With Images Blocked
Tip 3: Image blocking causes style issues
@M_J_Robbins | @advenix | @ericlepetitsf | @geoff_eoa
<style>
div.m1577ab38264895f1 .m_-5859679698733932272test{
background-image:url();
}
</style>
<div class="m_-1608274971889655912test" style="background-
image:url(.../image2.jpg);">
Test
</div>
<img src=“.../image3.jpg">
With Images Downloaded
Tip 4: Embedded CSS Size Limit
@M_J_Robbins | @advenix | @ericlepetitsf | @geoff_eoa
Currently, CSS character count is capped at 8,192 characters.
All CSS in <style> block is removed once the cap is reached.
Tips
Use multiple <style> blocks: Gmail will only strip out the one in
which the cap is reached.
Place CSS not for Gmail (e.g. animations) in separate <style>
block at the bottom of the <head> section.
Tip 5: Don’t remove Gmail layout hacks yet
@M_J_Robbins | @advenix | @ericlepetitsf | @geoff_eoa
Gmail Android spacer hack
<img src="spacer.gif" height="1" width="600" style="display:block; width:600px;
min-width:600px;"/>
Gmail iOS font size hack
<div class=”gmailfix” style="white-space:nowrap; font:15px courier; color:#ffffff;">
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
</div>
Tip 5: Don’t remove Gmail layout hacks yet
@M_J_Robbins | @advenix | @ericlepetitsf | @geoff_eoa
Gmail iOS “Font Boost”
Tip 6: Targeting Gmail and Inbox in your CSS
@M_J_Robbins | @advenix | @ericlepetitsf | @geoff_eoa
<!DOCTYPE html>
<html><head>
<style>
u + .body .gmail-or-inbox{
display:block !important;
}
</style>
</head>
<body class="body">
<div class="gmail-or-inbox" style="display:none;">
THIS IS GMAIL OR INBOX</div>
</html>
Targeting Gmail and Inbox
Tip 6: Targeting Gmail and Inbox in your CSS
@M_J_Robbins | @advenix | @ericlepetitsf | @geoff_eoa
<!DOCTYPE html>
<html><head>
<style>
u + .body section .gmail {
display:block !important;
}
u + .body > .inbox {
display:block !important;
}
</style>
</head>
Targeting Gmail or Inbox
<body class="body">
<section>
<div class="gmail“ style="display:none;">
THIS IS GMAIL</div>
<div class="inbox" style="display:none;">
THIS IS INBOX</div>
</section>
</body>
</html>
Discussion
How might these changes affect
email development?
@M_J_Robbins | @advenix | @ericlepetitsf | @geoff_eoa
Do we still need to inline CSS?
Is hybrid fluid dead?
How will this impact
interactive email?
Q&A
Ask the experts.
@M_J_Robbins | @advenix | @ericlepetitsf | @geoff_eoa
Still got email questions? Tweet them to us @emailonacid!

Weitere ähnliche Inhalte

Andere mochten auch

Xavier Giné - Educación financiera y participación financiera en países en de...
Xavier Giné - Educación financiera y participación financiera en países en de...Xavier Giné - Educación financiera y participación financiera en países en de...
Xavier Giné - Educación financiera y participación financiera en países en de...Fundación Ramón Areces
 
How To Build A Business Online: Start With Why
How To Build A Business Online: Start With WhyHow To Build A Business Online: Start With Why
How To Build A Business Online: Start With WhyVito La Fata
 
Institucional Empresas Fm Estacion 21 San Juan.
Institucional Empresas Fm Estacion 21 San Juan. Institucional Empresas Fm Estacion 21 San Juan.
Institucional Empresas Fm Estacion 21 San Juan. Ricardo Fernández
 
Norte Parque Residencial Email Chl
Norte Parque Residencial   Email ChlNorte Parque Residencial   Email Chl
Norte Parque Residencial Email Chlimoveisdorio
 
Sant mer, heroi del drac de banyoles
Sant mer, heroi del drac de banyolesSant mer, heroi del drac de banyoles
Sant mer, heroi del drac de banyolesBerta
 
www.pharmagroup.it
www.pharmagroup.itwww.pharmagroup.it
www.pharmagroup.itstreamky
 
Ovario Poliquistico 2005
Ovario Poliquistico 2005Ovario Poliquistico 2005
Ovario Poliquistico 2005rahterrazas
 
Designing and developing a Windows Phone 7 Silverlight Application End-to-End...
Designing and developing a Windows Phone 7 Silverlight Application End-to-End...Designing and developing a Windows Phone 7 Silverlight Application End-to-End...
Designing and developing a Windows Phone 7 Silverlight Application End-to-End...Katrien De Graeve
 
A development of a coin slot prepayment system
A development of a coin slot prepayment systemA development of a coin slot prepayment system
A development of a coin slot prepayment systemHarhar Caparida
 
Fighting Food Loss and Food Waste in Japan
Fighting Food Loss and Food Waste in JapanFighting Food Loss and Food Waste in Japan
Fighting Food Loss and Food Waste in JapanFAO
 
Cv ernst mayer 2016
Cv ernst mayer 2016Cv ernst mayer 2016
Cv ernst mayer 2016Ernst Mayer
 
What is this DevOps thing and why do I need it?
What is this DevOps thing and why do I need it?What is this DevOps thing and why do I need it?
What is this DevOps thing and why do I need it?Safe Swiss Cloud
 
Insectos Comestibles
Insectos ComestiblesInsectos Comestibles
Insectos Comestiblesguest8a5cb5
 
KuehneNagel_Connect_Issue02_Print_FA
KuehneNagel_Connect_Issue02_Print_FAKuehneNagel_Connect_Issue02_Print_FA
KuehneNagel_Connect_Issue02_Print_FANikki Taylor
 
Design Time and Run Time Governance
Design Time and Run Time Governance Design Time and Run Time Governance
Design Time and Run Time Governance WSO2
 

Andere mochten auch (20)

Xavier Giné - Educación financiera y participación financiera en países en de...
Xavier Giné - Educación financiera y participación financiera en países en de...Xavier Giné - Educación financiera y participación financiera en países en de...
Xavier Giné - Educación financiera y participación financiera en países en de...
 
How To Build A Business Online: Start With Why
How To Build A Business Online: Start With WhyHow To Build A Business Online: Start With Why
How To Build A Business Online: Start With Why
 
Reunião Programa de Ressignificação
Reunião Programa de RessignificaçãoReunião Programa de Ressignificação
Reunião Programa de Ressignificação
 
Institucional Empresas Fm Estacion 21 San Juan.
Institucional Empresas Fm Estacion 21 San Juan. Institucional Empresas Fm Estacion 21 San Juan.
Institucional Empresas Fm Estacion 21 San Juan.
 
Norte Parque Residencial Email Chl
Norte Parque Residencial   Email ChlNorte Parque Residencial   Email Chl
Norte Parque Residencial Email Chl
 
Sant mer, heroi del drac de banyoles
Sant mer, heroi del drac de banyolesSant mer, heroi del drac de banyoles
Sant mer, heroi del drac de banyoles
 
www.pharmagroup.it
www.pharmagroup.itwww.pharmagroup.it
www.pharmagroup.it
 
Ovario Poliquistico 2005
Ovario Poliquistico 2005Ovario Poliquistico 2005
Ovario Poliquistico 2005
 
Presentación FxBot
Presentación FxBotPresentación FxBot
Presentación FxBot
 
Flyer Master
Flyer MasterFlyer Master
Flyer Master
 
Designing and developing a Windows Phone 7 Silverlight Application End-to-End...
Designing and developing a Windows Phone 7 Silverlight Application End-to-End...Designing and developing a Windows Phone 7 Silverlight Application End-to-End...
Designing and developing a Windows Phone 7 Silverlight Application End-to-End...
 
A development of a coin slot prepayment system
A development of a coin slot prepayment systemA development of a coin slot prepayment system
A development of a coin slot prepayment system
 
Fighting Food Loss and Food Waste in Japan
Fighting Food Loss and Food Waste in JapanFighting Food Loss and Food Waste in Japan
Fighting Food Loss and Food Waste in Japan
 
Cv ernst mayer 2016
Cv ernst mayer 2016Cv ernst mayer 2016
Cv ernst mayer 2016
 
What is this DevOps thing and why do I need it?
What is this DevOps thing and why do I need it?What is this DevOps thing and why do I need it?
What is this DevOps thing and why do I need it?
 
Insectos Comestibles
Insectos ComestiblesInsectos Comestibles
Insectos Comestibles
 
Rendimiento(vlmbh)
Rendimiento(vlmbh)Rendimiento(vlmbh)
Rendimiento(vlmbh)
 
Como puedo ayudar a mis hijos
Como puedo ayudar a mis hijosComo puedo ayudar a mis hijos
Como puedo ayudar a mis hijos
 
KuehneNagel_Connect_Issue02_Print_FA
KuehneNagel_Connect_Issue02_Print_FAKuehneNagel_Connect_Issue02_Print_FA
KuehneNagel_Connect_Issue02_Print_FA
 
Design Time and Run Time Governance
Design Time and Run Time Governance Design Time and Run Time Governance
Design Time and Run Time Governance
 

Ähnlich wie [Webinar Slides] Gmail’s Responsive Email Updates

CSS Inlining in Email: What It IS + How To Do It
CSS Inlining in Email: What It IS + How To Do ItCSS Inlining in Email: What It IS + How To Do It
CSS Inlining in Email: What It IS + How To Do ItLitmus
 
WebSG - HTML Email Newsletters
WebSG - HTML Email NewslettersWebSG - HTML Email Newsletters
WebSG - HTML Email NewslettersSean Thambiah
 
Beyond Email Open Rates: How to Unlock the Potential in Your Audience
Beyond Email Open Rates: How to Unlock the Potential in Your AudienceBeyond Email Open Rates: How to Unlock the Potential in Your Audience
Beyond Email Open Rates: How to Unlock the Potential in Your AudienceKissmetrics on SlideShare
 
Email Design Workshop - Don't Let Bad Email Code Ruin Your Day or Your Results
Email Design Workshop - Don't Let Bad Email Code Ruin Your Day or Your ResultsEmail Design Workshop - Don't Let Bad Email Code Ruin Your Day or Your Results
Email Design Workshop - Don't Let Bad Email Code Ruin Your Day or Your ResultsShana Masterson
 
Creating Email Campaigns that Work: A Focus on Design Elements
Creating Email Campaigns that Work: A Focus on Design ElementsCreating Email Campaigns that Work: A Focus on Design Elements
Creating Email Campaigns that Work: A Focus on Design ElementsEmail on Acid
 
Webinar: State of Email 2017
Webinar: State of Email 2017Webinar: State of Email 2017
Webinar: State of Email 2017Litmus
 
Everything You Need to Know About Gmail Rendering
Everything You Need to Know About Gmail RenderingEverything You Need to Know About Gmail Rendering
Everything You Need to Know About Gmail RenderingLitmus
 
What Brands Are Doing About Gmail Tabs
What Brands Are Doing About Gmail TabsWhat Brands Are Doing About Gmail Tabs
What Brands Are Doing About Gmail TabsTrendline Interactive
 
IT230-Assignment 1 Solved.pdf
IT230-Assignment 1 Solved.pdfIT230-Assignment 1 Solved.pdf
IT230-Assignment 1 Solved.pdfDark179280
 
Email + Video: What Works, What Doesn't + What to Measure
 Email + Video: What Works, What Doesn't + What to Measure Email + Video: What Works, What Doesn't + What to Measure
Email + Video: What Works, What Doesn't + What to MeasureLitmus
 
Dreamforce | ExactTarget Marketing Cloud: The Mobile Inbox 201 - Design and Code
Dreamforce | ExactTarget Marketing Cloud: The Mobile Inbox 201 - Design and CodeDreamforce | ExactTarget Marketing Cloud: The Mobile Inbox 201 - Design and Code
Dreamforce | ExactTarget Marketing Cloud: The Mobile Inbox 201 - Design and CodeSalesforce Marketing Cloud
 
5 Ways to Improve Your Email Campaigns (and Get Better Results)
5 Ways to Improve Your Email Campaigns (and Get Better Results)5 Ways to Improve Your Email Campaigns (and Get Better Results)
5 Ways to Improve Your Email Campaigns (and Get Better Results)Email on Acid
 
Responsive emails and ZURB Foundation for email
Responsive emails and ZURB Foundation for emailResponsive emails and ZURB Foundation for email
Responsive emails and ZURB Foundation for emailGeoffroy Baylaender
 
Wc philly 2012 presentation
Wc philly 2012 presentationWc philly 2012 presentation
Wc philly 2012 presentationonefinejay
 
Responsive HTML Email with Drupal
Responsive HTML Email with DrupalResponsive HTML Email with Drupal
Responsive HTML Email with DrupalDrew Gorton
 
Designed for Success: Optimizing the Email Experience
Designed for Success: Optimizing the Email ExperienceDesigned for Success: Optimizing the Email Experience
Designed for Success: Optimizing the Email ExperienceChad S. White
 
Use Case: integrating a complex e-commerce site - Frenchtoday.com
Use Case: integrating a complex e-commerce site - Frenchtoday.comUse Case: integrating a complex e-commerce site - Frenchtoday.com
Use Case: integrating a complex e-commerce site - Frenchtoday.comOlivier Karfis
 
Making Your Site Look Great in IE7
Making Your Site Look Great in IE7Making Your Site Look Great in IE7
Making Your Site Look Great in IE7goodfriday
 
Top 10 MailChimp Alternatives
Top 10 MailChimp Alternatives Top 10 MailChimp Alternatives
Top 10 MailChimp Alternatives Capterra
 

Ähnlich wie [Webinar Slides] Gmail’s Responsive Email Updates (20)

CSS Inlining in Email: What It IS + How To Do It
CSS Inlining in Email: What It IS + How To Do ItCSS Inlining in Email: What It IS + How To Do It
CSS Inlining in Email: What It IS + How To Do It
 
WebSG - HTML Email Newsletters
WebSG - HTML Email NewslettersWebSG - HTML Email Newsletters
WebSG - HTML Email Newsletters
 
Beyond Email Open Rates: How to Unlock the Potential in Your Audience
Beyond Email Open Rates: How to Unlock the Potential in Your AudienceBeyond Email Open Rates: How to Unlock the Potential in Your Audience
Beyond Email Open Rates: How to Unlock the Potential in Your Audience
 
Email Design Workshop - Don't Let Bad Email Code Ruin Your Day or Your Results
Email Design Workshop - Don't Let Bad Email Code Ruin Your Day or Your ResultsEmail Design Workshop - Don't Let Bad Email Code Ruin Your Day or Your Results
Email Design Workshop - Don't Let Bad Email Code Ruin Your Day or Your Results
 
Creating Email Campaigns that Work: A Focus on Design Elements
Creating Email Campaigns that Work: A Focus on Design ElementsCreating Email Campaigns that Work: A Focus on Design Elements
Creating Email Campaigns that Work: A Focus on Design Elements
 
Webinar: State of Email 2017
Webinar: State of Email 2017Webinar: State of Email 2017
Webinar: State of Email 2017
 
Everything You Need to Know About Gmail Rendering
Everything You Need to Know About Gmail RenderingEverything You Need to Know About Gmail Rendering
Everything You Need to Know About Gmail Rendering
 
What Brands Are Doing About Gmail Tabs
What Brands Are Doing About Gmail TabsWhat Brands Are Doing About Gmail Tabs
What Brands Are Doing About Gmail Tabs
 
IT230-Assignment 1 Solved.pdf
IT230-Assignment 1 Solved.pdfIT230-Assignment 1 Solved.pdf
IT230-Assignment 1 Solved.pdf
 
Email + Video: What Works, What Doesn't + What to Measure
 Email + Video: What Works, What Doesn't + What to Measure Email + Video: What Works, What Doesn't + What to Measure
Email + Video: What Works, What Doesn't + What to Measure
 
Dreamforce | ExactTarget Marketing Cloud: The Mobile Inbox 201 - Design and Code
Dreamforce | ExactTarget Marketing Cloud: The Mobile Inbox 201 - Design and CodeDreamforce | ExactTarget Marketing Cloud: The Mobile Inbox 201 - Design and Code
Dreamforce | ExactTarget Marketing Cloud: The Mobile Inbox 201 - Design and Code
 
5 Ways to Improve Your Email Campaigns (and Get Better Results)
5 Ways to Improve Your Email Campaigns (and Get Better Results)5 Ways to Improve Your Email Campaigns (and Get Better Results)
5 Ways to Improve Your Email Campaigns (and Get Better Results)
 
Responsive emails and ZURB Foundation for email
Responsive emails and ZURB Foundation for emailResponsive emails and ZURB Foundation for email
Responsive emails and ZURB Foundation for email
 
Wc philly 2012 presentation
Wc philly 2012 presentationWc philly 2012 presentation
Wc philly 2012 presentation
 
Responsive HTML Email with Drupal
Responsive HTML Email with DrupalResponsive HTML Email with Drupal
Responsive HTML Email with Drupal
 
Designed for Success: Optimizing the Email Experience
Designed for Success: Optimizing the Email ExperienceDesigned for Success: Optimizing the Email Experience
Designed for Success: Optimizing the Email Experience
 
Use Case: integrating a complex e-commerce site - Frenchtoday.com
Use Case: integrating a complex e-commerce site - Frenchtoday.comUse Case: integrating a complex e-commerce site - Frenchtoday.com
Use Case: integrating a complex e-commerce site - Frenchtoday.com
 
Making Your Site Look Great in IE7
Making Your Site Look Great in IE7Making Your Site Look Great in IE7
Making Your Site Look Great in IE7
 
Top 10 MailChimp Alternatives
Top 10 MailChimp Alternatives Top 10 MailChimp Alternatives
Top 10 MailChimp Alternatives
 
Techtalk
TechtalkTechtalk
Techtalk
 

Kürzlich hochgeladen

The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxLoriGlavin3
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxLoriGlavin3
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfMounikaPolabathina
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersNicole Novielli
 
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESSALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESmohitsingh558521
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxLoriGlavin3
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersRaghuram Pandurangan
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionDilum Bandara
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 

Kürzlich hochgeladen (20)

The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptx
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdf
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software Developers
 
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESSALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information Developers
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 

[Webinar Slides] Gmail’s Responsive Email Updates

  • 1. Gmail's Responsive Email Updates What This Means For Your Email @M_J_Robbins | @advenix | @ericlepetitsf | @geoff_eoa
  • 2. Welcome Mark Robbins Rebelmail Justin Khoo Email on Acid Eric Lepetit Nest @M_J_Robbins | @advenix | @ericlepetitsf | @geoff_eoa Join the conversation. #GmailUpdates
  • 3. Gmail before the updates @M_J_Robbins | @advenix | @ericlepetitsf | @geoff_eoa • Gmail was the main reason why we inlined styles • Didn’t support media queries • iOS Gmail app increased your font size • Non responsive Gmail App replaced responsive native Android App in 2015 • Inconsistencies between Gmail, Inbox, Android app, iOS app, G Suite, Images off, and Gmail App with Non-Google Accounts (GANGA)
  • 4. Gmail before the updates @M_J_Robbins | @advenix | @ericlepetitsf | @geoff_eoa Source: Remi Parmentier
  • 5. The New Gmail @M_J_Robbins | @advenix | @ericlepetitsf | @geoff_eoa • Supports responsive email • Supports embedded styles • Gives responsibility for mobile experience back to designer • More receptive to input from email community • Documentation is available
  • 6. What is now supported in Gmail @M_J_Robbins | @advenix | @ericlepetitsf | @geoff_eoa • Embedded styles with classes and IDs (only in <head>) • Media queries (max-width, min-width, max-device-width, min-device-width) • Background-position & background-size • :hover pseudoclass in Gmail webmail • https://developers.google.com/gmail/design/reference/supported_css
  • 7. Embedded CSS vs. Inline CSS @M_J_Robbins | @advenix | @ericlepetitsf | @geoff_eoa
  • 8. Media Queries @M_J_Robbins | @advenix | @ericlepetitsf | @geoff_eoa A block of CSS that is only active at certain client dimensions • Display or hide elements in mobile • Change layout - stack columns • Increase font sizes • Adjust padding and margins @media only screen and (max-width:600px) { .body { font-size:24px !important } .topmenu { display: none !important } .download-app { display: block !important } } @media only screen and (max-width:600px) { .body { font-size:24px !important } .topmenu { display: none !important } .download-app { display: block !important } }
  • 9. Media Queries @M_J_Robbins | @advenix | @ericlepetitsf | @geoff_eoa Example image
  • 10. What is not supported in Gmail? @M_J_Robbins | @advenix | @ericlepetitsf | @geoff_eoa Attribute selectors • Example: div[class=”foo”], *[id^=”foo-”] Common Webmail limitations • Web fonts • Animation, Transitions, Transforms • Absolute/Fixed position • Video • External stylesheets Pseudo-classes • :checked • :hover (on mobile apps and Inbox) • Used for interactive email
  • 11. Which Gmail clients have the update? @M_J_Robbins | @advenix | @ericlepetitsf | @geoff_eoa ✓ Desktop webmail ✓ Mobile webmail ✓ G Suite Basic (Google Apps For Work) ✓ Android app (Gmail account) ✓ Android app (Gmailified account) ✓ Inbox (Desktop webmail) ✓ Inbox (iOS app) ✓ Inbox (Android app) ✘ Google Apps Free Edition ✘ Gmail App with Non-Google Accounts (POP/IMAP account) ✘ iOS app
  • 12. Tips and Action Items Get Your Emails Up to Speed @M_J_Robbins | @advenix | @ericlepetitsf | @geoff_eoa
  • 13. Tip 1: Clean up attribute selectors @M_J_Robbins | @advenix | @ericlepetitsf | @geoff_eoa Don’t mix classes and attribute selectors .body { background-color: #000000; } div[class=”body”] { color: #ffffff; } Attribute selectors are no longer required inside media queries (Yahoo! Mail fixed theirbug) @media (max-width:600px){ div[class=”full-col”] { width: 100%!important } } You can use attribute selectors strategically, to hide content from Gmail.
  • 14. Tip 2: Height → min-height in Inbox @M_J_Robbins | @advenix | @ericlepetitsf | @geoff_eoa <img src="triangle.png" width="600" height="200" style="display:block;width:100%;height:auto;"> Becomes <img src="triangle.png" width="600" height="200" style="display:block;width:100%;min-height:auto;">
  • 15. Tip 3: Image blocking causes style issues @M_J_Robbins | @advenix | @ericlepetitsf | @geoff_eoa <style> .test{ background-image:url(.../image1.jpg); } </style> <div class="test" style="background-image:url(.../image2.jpg);"> Test </div> <img src=".../image3.jpg"> Raw Code
  • 16. Tip 3: Image blocking causes style issues @M_J_Robbins | @advenix | @ericlepetitsf | @geoff_eoa <style> div.m1577ab38264895f1 .m_-5859679698733932272test{ background-image:url(); } </style> <div class="m_-5859679698733932272test" style="background- image:url();"> Test </div> <img src=" "> With Images Blocked
  • 17. Tip 3: Image blocking causes style issues @M_J_Robbins | @advenix | @ericlepetitsf | @geoff_eoa <style> div.m1577ab38264895f1 .m_-5859679698733932272test{ background-image:url(); } </style> <div class="m_-1608274971889655912test" style="background- image:url(.../image2.jpg);"> Test </div> <img src=“.../image3.jpg"> With Images Downloaded
  • 18. Tip 4: Embedded CSS Size Limit @M_J_Robbins | @advenix | @ericlepetitsf | @geoff_eoa Currently, CSS character count is capped at 8,192 characters. All CSS in <style> block is removed once the cap is reached. Tips Use multiple <style> blocks: Gmail will only strip out the one in which the cap is reached. Place CSS not for Gmail (e.g. animations) in separate <style> block at the bottom of the <head> section.
  • 19. Tip 5: Don’t remove Gmail layout hacks yet @M_J_Robbins | @advenix | @ericlepetitsf | @geoff_eoa Gmail Android spacer hack <img src="spacer.gif" height="1" width="600" style="display:block; width:600px; min-width:600px;"/> Gmail iOS font size hack <div class=”gmailfix” style="white-space:nowrap; font:15px courier; color:#ffffff;"> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - </div>
  • 20. Tip 5: Don’t remove Gmail layout hacks yet @M_J_Robbins | @advenix | @ericlepetitsf | @geoff_eoa Gmail iOS “Font Boost”
  • 21. Tip 6: Targeting Gmail and Inbox in your CSS @M_J_Robbins | @advenix | @ericlepetitsf | @geoff_eoa <!DOCTYPE html> <html><head> <style> u + .body .gmail-or-inbox{ display:block !important; } </style> </head> <body class="body"> <div class="gmail-or-inbox" style="display:none;"> THIS IS GMAIL OR INBOX</div> </html> Targeting Gmail and Inbox
  • 22. Tip 6: Targeting Gmail and Inbox in your CSS @M_J_Robbins | @advenix | @ericlepetitsf | @geoff_eoa <!DOCTYPE html> <html><head> <style> u + .body section .gmail { display:block !important; } u + .body > .inbox { display:block !important; } </style> </head> Targeting Gmail or Inbox <body class="body"> <section> <div class="gmail“ style="display:none;"> THIS IS GMAIL</div> <div class="inbox" style="display:none;"> THIS IS INBOX</div> </section> </body> </html>
  • 23. Discussion How might these changes affect email development? @M_J_Robbins | @advenix | @ericlepetitsf | @geoff_eoa
  • 24. Do we still need to inline CSS?
  • 26. How will this impact interactive email?
  • 27. Q&A Ask the experts. @M_J_Robbins | @advenix | @ericlepetitsf | @geoff_eoa Still got email questions? Tweet them to us @emailonacid!