← CSS Support Index

Does CSS max() Work in HTML Email?

Support for the CSS `max()` function.

Quick Answer

Does max() work in HTML email?

The CSS max() property is supported in Gmail, Outlook (Mac / Web), Apple Mail, Thunderbird, and others. It is NOT supported in Outlook (Windows), Yahoo! Mail, Fastmail. Always include a safe fallback for unsupported clients.

Which Email Clients Support CSS max()?

CSS support for max() across email clients

Email ClientDesktopMobile / WebNotes
Gmail✓ Yes~ Partial—
Outlook (Windows)✗ No?—
Outlook (Mac / Web)✓ Yes✗ No—
Apple Mail✓ Yes✓ Yes—
Yahoo! Mail✗ No✗ No—
Samsung Email?✗ No—
Thunderbird✓ Yes?—
ProtonMail✓ Yes✓ Yes—
Fastmail✗ No?—

Notes

  • #1 Partial. Not supported with non Google accounts.

Frequently Asked Questions

Test Your Email Now

Paste your HTML and see how it renders in clients that don't support
max().

Open Email Previewer

Building a new email instead of checking an existing one? MailViewr's Email Builder only lets you use CSS that's known to render across clients, so max() can't sneak into your markup by accident. Open the Email Builder →