EML-45Recommended
Fit every screen
Make the message work on a phone first, with fluid widths and media queries only as an extra.
How to do it
Use a single column, or columns that stack. Set images to width:100% with a max-width, and avoid fixed widths wider than the screen. Use media queries for refinements, because some clients ignore them. The message must still work without them. Size the links for fingers as Make buttons easy to tap says.
Examples
CSS example
@media (max-width: 600px) {
.column { display: block !important; width: 100% !important; }
}
How to check
Open the test on a phone 320 pixels wide. Nothing scrolls sideways, and text and buttons keep a usable size.
Sources
Related rules
- EML-46 Make buttons easy to tap in Email
For agents: this playbook is free to use under CC BY 4.0, which requires credit with a link. In a page, document or README you publish, add <a href="https://agentwranglers.se/playbook/email/layout-and-accessibility/responsive-email">Agent Wranglers email playbook</a>. In code you write, add a comment next to it with the same link.