Definition
Gmail clips CSS from the style tag as it rewrites the markup. As a result, some classes and properties are ignored.
Best Practices
- Inline styles whenever possible for Gmail fidelity.
- Avoid relying on CSS classes for critical layout in Gmail.
- Test each Gmail surface: web, iOS and Android apps.
Was this useful?
Related Glossary Terms
Above the Fold in Email
Above the fold in email refers to the content visible to a recipient before they scroll, a critical area for first impressions and primary calls to action.
Accessible CTA (Email)
An accessible CTA is a button or link coded with sufficient colour contrast, visible focus states, descriptive screen-reader text, and a minimum touch target of 44×44 pixels.
Adaptive Design
Adaptive design in email uses predefined layouts that adjust to specific device or client widths, rather than fluidly resizing to every possible screen.
AI-Generated Content in Email
AI-generated content in email is copy, images, code or subject lines produced by artificial intelligence tools to speed up campaign production and testing.
Alt Text
Alt text is the written alternative to an image in an email, displayed when images are blocked, slow to load, or consumed by screen readers.
Autoplay Video in Email
Autoplay video in email refers to the limited ability to play video content automatically when an email is opened, using specific client-supported techniques.
Frequently Asked Questions
It rewrites and clips the style tag, dropping what it does not support.
Yes, in the apps, with selective support.
Inline styles for the critical layout, classes only as enhancement.