clamp
CSS function · 5 supported, 3 partial, 6 unsupported across 15 clients
The clamp() function locks a value between a minimum and maximum, with a preferred middle value. It is widely used in modern responsive web design but has limited email support — Apple Mail and modern Gmail Web honor it, while Outlook on Windows ignores it entirely.
Client Support
| Client | Category | Engine | Support |
|---|---|---|---|
| Gmail | webmail | Gmail Web | Supported |
| Gmail Android | mobile | Gmail Mobile | Partial |
| Gmail iOS | mobile | Gmail Mobile | Partial |
| Outlook 365 | webmail | Outlook Web | Unsupported |
| Outlook (New) | desktop | Outlook Web | Unsupported |
| Outlook Classic | desktop | Microsoft Word | Unsupported |
| Outlook iOS | mobile | Outlook Mobile | Unsupported |
| Outlook Android | mobile | Outlook Mobile | Unsupported |
| Apple Mail | desktop | WebKit | Supported |
| Apple Mail iOS | mobile | WebKit | Supported |
| Yahoo Mail | webmail | Yahoo | Unsupported |
| Samsung Mail | mobile | Samsung | Partial |
| Thunderbird | desktop | Gecko | Supported |
| HEY Mail | webmail | WebKit | Supported |
| Superhuman | desktop | Blink | Unknown |
Client-by-client behaviour for clamp
Fully supports clamp (5): Gmail, Apple Mail, Apple Mail iOS, Thunderbird, HEY Mail.
Partial support (3): Gmail Android, Gmail iOS, Samsung Mail. Expect rendering quirks unique to each engine — partial support typically means a subset of values, an ignored shorthand, or sanitizer-specific rewrites.
No support (6): Outlook 365, Outlook (New), Outlook Classic, Outlook iOS, Outlook Android, Yahoo Mail. Plan fallbacks for these clients before relying on clamp in production sends.
Behaviour unverified in: Superhuman.
When to use clamp in email
- Fluid typography that scales with viewport width while staying within readable bounds.
- Responsive container padding that adapts to small and large screens.
- Adaptive button sizing in modern marketing email templates.
Rendering behaviour and edge cases
- Outlook on Windows ignores clamp() and uses the original CSS keyword fallback.
- Gmail Web supports clamp() in recent Chromium versions; Gmail mobile is more conservative.
- Browser-style fluid typography expectations don't always translate to email viewports.
Recommended fallback strategy
Provide a fixed pixel fallback declaration before clamp() so non-supporting clients still receive a sensible value. Keep the clamp() range conservative in email — extreme min/max values render unpredictably across mobile clients.
Fixes & Workarounds
Outlook 365
Unsupported"clamp" is not supported in this email client.
Outlook (New)
Unsupported"clamp" is not supported in this email client.
Outlook Classic
Unsupported"clamp" is not supported in this email client.
Outlook iOS
Unsupported"clamp" is not supported in this email client.
Outlook Android
Unsupported"clamp" is not supported in this email client.
Yahoo Mail
Unsupported"clamp" is not supported in this email client.
Gmail Android
Partial"clamp" is not supported in this email client.
Gmail iOS
Partial"clamp" is not supported in this email client.
Samsung Mail
Partial"clamp" is not supported in this email client.
Related Features
Test your email across all 15 clients
Preview rendering, catch CSS issues, and get actionable fixes — free.
Try Emailens FreeSupport data last updated Apr 27, 2026 · synced from caniemail.com via @emailens/engine.