Skip to main content

Our email CSS engine is open source. Give it a star on GitHub 

Emailens

Apple Mail email CSS: what breaks, and what to write instead

280 of 300 features work in Apple Mail · 14 partial · 6 not supported. Of the 280 that work here, 85 work in 6 or fewer of the other 20 clients, so a check that passes here says little about the rest.

Works 280 · Partial 14 · Not supported 6 · Untested 0 · of 300

WebKit · desktop · prefers-color-scheme: works

The checker needs a computer screen.

See what breaks ↓

Apple Mail opens with a free account.

A free account opens all 21 clients and keeps your checks for 7 days. Create a free account →

@emailens/engine 0.18.22 · data last changed 10 Nov 2026

What we measured in real Apple Mail

  • In October 2026 we ran our probe sheets in real Apple Mail on a Mac, in light and dark mode. The Emailens live preview matched the real client on all 92 cases.
  • On a sheet of 38 features probed in October 2026, real Apple Mail applied every one.
  • In dark mode (November 2026), real Apple Mail recoloured an email that declares no colour scheme: white backgrounds turned #333333 and black text turned white. An email that declares color-scheme: light dark kept the colours it set.
  • Unstyled text renders at 12px, not the 16px a browser uses (October 2026).
  • Media queries in the newer syntax were ignored (October 2026): (width < 600px), not (min-width: 360px) and screen and (not (...)). The older spelling, @media not all and (min-width: 360px), works.

How we check the preview against real clients →

Apple Mail against Apple Mail iOS

They give the same answer on 284 of the 298 features both are tested on. Where they split:

Works in Apple Mail iOS, not in Apple Mail (4)

How Apple Mail renders email

Apple Mail on macOS renders email with WebKit, the engine behind Safari. It keeps <style> blocks and supports media queries, @font-face, flexbox, grid and CSS animations, so most email CSS works here as written. The risk runs the other way: a design that passes in Apple Mail can still break in clients that support far less.

text-decoration
In our October 2026 probe, the shorthand text-decoration: underline wavy #d33 was dropped whole, with no line at all. A single value works; set the style and colour with -webkit-text-decoration.
<svg>
Inline SVG draws only when the <body> has a background, a colour or an image, set as an attribute, inline or in the <style> block.
color-scheme
Works only on the html (root) element.
word-break and overflow-wrap
Apple Mail applies word-wrap: break-word by default, so word-break looks like break-all. overflow-wrap needs word-break: normal to reset it.
nesting
E { F {} } does not work; E { & F {} } does. Full support arrived in macOS 14.2.

What works in Apple Mail and breaks elsewhere

85 features work in Apple Mail and in 6 or fewer of the other 20 clients, so they need a fallback.

All 81

Not listed: <link>, <base>, @import, <body>, structural tags; the table below has them.

Apple Mail on real installs

The Emailens probe for each feature, captured on Apple Mail's own installs, next to the Emailens live preview of Apple Mail.

animation in a real Apple Mail (macOS)

overflow in a real Apple Mail (macOS)

Apple Mail

caniemail: overflow is partly supported in Apple Mail.

Partial. overflow-block & overflow-inline not supported.

word-break in a real Apple Mail (macOS)

Apple Mail

caniemail: word-break is partly supported in Apple Mail.

Buggy. Supported but a word-wrap:break-word is applied, making it look like break-all.

Paste your email and see what Apple Mail does to it.

The checker needs a computer screen.

Dark mode in Apple Mail

Measured in real Apple Mail, November 2026: an email that declares no colour scheme is recoloured in dark mode. One that declares color-scheme: light dark keeps its colours.

How to target Apple Mail

Selectors that single out Apple Mail, from the community list the engine ships (howtotarget.email). Copy one and replace .your-class-name.

css
[class^="apple-mail"] .your-class-name {
  /* Replace this comment with your styles */
}

Targets both iOS and MacOS Applemail.

css
.Singleton .your-class-name {
  /* Replace this comment with your styles */
}

Build one for several clients →

Before you send to Apple Mail

  • Decide dark mode yourself: declare color-scheme: light dark and write your own dark styles. Without a declaration, real Apple Mail recoloured the email in November 2026.
  • Write media queries in the older syntax, such as @media not all and (min-width: 360px). The newer syntax was ignored in October 2026.
  • Set a font-size on every text block. Unstyled text renders at 12px.

Every account includes one free real-device check in classic Outlook, Outlook for Mac and Apple Mail, after you verify your email and run one preview, while this month's free capacity lasts. How real-device checks work →

Every feature in Apple Mail

Show all 300
Show

HTML Elements · 3 of 48 not supported or partial here

HTML Attributes · 1 of 22 not supported or partial here

HTML & Email Structure · 1 of 8 not supported or partial here

CSS At-Rules · 0 of 10 not supported or partial here

Pseudo-Elements · 0 of 6 not supported or partial here

Pseudo-Classes & Selectors · 3 of 34 not supported or partial here

CSS Functions · 0 of 8 not supported or partial here

CSS Properties · 12 of 164 not supported or partial here

caniemail (MIT) via @emailens/engine 0.18.22 · data last changed 10 Nov 2026