← CSS Support Index

Does CSS visibility Work in HTML Email?

Tested for values `hidden` and `collapse`.

Quick Answer

Does visibility work in HTML email?

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

Which Email Clients Support CSS visibility?

CSS support for visibility across email clients

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

Notes

  • #1 Buggy. `visibility:collapse` applied to a `<tr>` only hides content and does not "remove" it from layout.
  • #2 Partially supported. `visibility:collapse` is not supported.

Frequently Asked Questions

Test Your Email Now

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

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 visibility can't sneak into your markup by accident. Open the Email Builder →