← CSS Support Index

Does CSS @media (hover), @media (any-hover) Work in HTML Email?

This media query tests whether the user's input device[s] (i.e mouse, trackpad etc.) can hover over elements

Quick Answer

Does @media (hover), @media (any-hover) work in HTML email?

The CSS @media (hover), @media (any-hover) property is supported in Outlook (Mac / Web), Apple Mail, Samsung Email, ProtonMail. It is NOT supported in Gmail, Outlook (Windows), Yahoo! Mail. Always include a safe fallback for unsupported clients.

Which Email Clients Support CSS @media (hover), @media (any-hover)?

CSS support for @media (hover), @media (any-hover) across email clients

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

Frequently Asked Questions

Related CSS Properties

Test Your Email Now

Paste your HTML and see how it renders in clients that don't support
@media (hover), @media (any-hover).

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 @media (hover), @media (any-hover) can't sneak into your markup by accident. Open the Email Builder →