Skip to main content
Pseudo-Classes & Selectors

:focus-within

selector or pseudo-class · 6 supported, 2 partial, 5 unsupported across 21 clients

Client Support

ClientCategoryEngineSupport
GmailwebmailGmail WebUnsupported
Gmail AndroidmobileGmail MobileUnsupported
Gmail iOSmobileGmail MobileUnsupported
Outlook 365webmailOutlook WebUnsupported
Outlook (New)desktopOutlook WebUnsupported
Outlook ClassicdesktopMicrosoft WordUnknown
Outlook iOSmobileOutlook MobileUnknown
Outlook AndroidmobileOutlook MobilePartial
Outlook for MacdesktopWebKitPartial
Apple MaildesktopWebKitSupported
Apple Mail iOSmobileWebKitUnknown
Yahoo MailwebmailYahooSupported
Yahoo Mail AndroidmobileYahooSupported
Yahoo Mail iOSmobileYahooUnknown
Samsung MailmobileSamsungSupported
ThunderbirddesktopGeckoUnknown
HEY MailwebmailWebKitUnknown
Proton MailwebmailProtonSupported
AOL MailwebmailAOLSupported
FastmailwebmailFastmailUnknown
SuperhumandesktopBlinkUnknown

Client-by-client behaviour for :focus-within

Fully supports :focus-within (6): Apple Mail, Yahoo Mail, Yahoo Mail Android, Samsung Mail, Proton Mail, AOL Mail.

Partial support (2): Outlook Android, Outlook for Mac. Expect rendering quirks unique to each engine. Partial support typically means a subset of values, an ignored shorthand, or sanitizer-specific rewrites.

No support (5): Gmail, Gmail Android, Gmail iOS, Outlook 365, Outlook (New). Plan fallbacks for these clients before relying on :focus-within in production sends.

Behaviour unverified in: Outlook Classic, Outlook iOS, Apple Mail iOS, Yahoo Mail iOS, Thunderbird, HEY Mail, Fastmail, Superhuman.

Fixes & Workarounds

Gmail

Unsupported

":focus-within" is not supported in this email client.

Gmail Android

Unsupported

":focus-within" is not supported in this email client.

Gmail iOS

Unsupported

":focus-within" is not supported in this email client.

Outlook 365

Unsupported

":focus-within" is not supported in this email client.

Outlook (New)

Unsupported

":focus-within" is not supported in this email client.

Outlook Android

Partial

":focus-within" is not supported in this email client.

Outlook for Mac

Partial

":focus-within" is not supported in this email client.

Related Features

Test your email across all 21 clients

Preview rendering, catch CSS issues, and get actionable fixes. Free.

Try Emailens Free

Support data last updated Apr 27, 2026 · synced from caniemail.com via @emailens/engine.