Skip to main content
Emailens
Pseudo-Classes & Selectors

:universal-selector

selector or pseudo-class · 15 supported, 2 partial, 3 unsupported across 21 clients

15 of 21 email clients render :universal-selector fully (Sep 2, 2026 data); it breaks outright in Outlook (New), Outlook Classic, Proton Mail.

  • 6/7 webmail, 3/6 desktop, 6/8 mobile clients support :universal-selector fully.
  • Unsupported in Outlook (New), Outlook Classic, Proton Mail.
  • Partial in Gmail Android, Gmail iOS, behavior differs from browsers, test before relying on it.
  • Outlook Classic (Word engine, supported to at least 2029) does not fully support :universal-selector, and its replacement changes little here; see the deprecation diff.
  • Across all clients, only 6 of 298 tracked HTML/CSS features render identically everywhere.

Source: caniemail.com (MIT), via the Emailens engine. Last tested upstream Oct 13, 2019, synced by Emailens Sep 2, 2026.

The universal selector (*) matches every element. It is occasionally used in email for a single global rule like setting box-sizing: border-box, but its specificity is extremely low and Outlook ignores it because <style> blocks are stripped. In practice, the universal selector is a niche progressive enhancement.

Client Support

ClientCategoryEngineSupport
GmailwebmailGmail WebSupported
Gmail AndroidmobileGmail MobilePartialSee caveat 1
Gmail iOSmobileGmail MobilePartialSee caveat 1
Outlook 365webmailOutlook WebSupported
Outlook (New)desktopOutlook WebUnsupported
Outlook ClassicdesktopMicrosoft WordUnsupported
Outlook iOSmobileOutlook MobileSupported
Outlook AndroidmobileOutlook MobileSupported
Outlook for MacdesktopWebKitSupported
Apple MaildesktopWebKitSupported
Apple Mail iOSmobileWebKitSupported
Yahoo MailwebmailYahooSupported
Yahoo Mail AndroidmobileYahooSupported
Yahoo Mail iOSmobileYahooSupported
Samsung MailmobileSamsungSupported
ThunderbirddesktopGeckoSupported
HEY MailwebmailWebKitSupported
Proton MailwebmailProtonUnsupported
AOL MailwebmailAOLSupported
FastmailwebmailFastmailSupported
SuperhumandesktopBlinkUnknown

Documented caveats (1)

  1. 1.Gmail Android, Gmail iOS: Partial. Not supported with non Google accounts.

Caveats recorded by caniemail.com (MIT) and carried verbatim, one entry per wording rather than per client.

Client-by-client behaviour for :universal-selector

Fully supports :universal-selector (15): Gmail, Outlook 365, Outlook iOS, Outlook Android, Outlook for Mac, Apple Mail, Apple Mail iOS, Yahoo Mail, Yahoo Mail Android, Yahoo Mail iOS, Samsung Mail, Thunderbird, HEY Mail, AOL Mail, Fastmail.

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

No support (3): Outlook (New), Outlook Classic, Proton Mail. Plan fallbacks for these clients before relying on :universal-selector in production sends.

Behaviour unverified in: Superhuman.

When to use :universal-selector in email

  • Setting box-sizing: border-box across all elements in modern clients.
  • Resetting margin and padding globally as the start of a custom design system.
  • Applying a single dark-mode color override to every element via *.

Rendering behaviour and edge cases

  • Specificity is the lowest possible , any other selector overrides *.
  • Outlook on Windows ignores * because <style> is stripped.
  • Universal selectors can have measurable rendering cost on slow clients with large emails.

Recommended fallback strategy

Avoid relying on * for production emails. If you need a global reset, apply explicit inline styles on each element instead. Reserve the universal selector for niche progressive-enhancement cases in modern clients only.

Fixes & Workarounds

Outlook (New)

Unsupported

":universal-selector" is not supported in this email client.

Outlook Classic

Unsupported

":universal-selector" is not supported in this email client.

Proton Mail

Unsupported

":universal-selector" is not supported in this email client.

Gmail Android

Partial

":universal-selector" is not supported in this email client.

Gmail iOS

Partial

":universal-selector" is not supported in this email client.

Related Features

Check your own HTML for :universal-selector

Paste your own, or run the sample below. Analyzed in this page, with no signup and nothing stored.

Zero-Friction Engine Preview

Test your :universal-selector layout across 21 email clients

Preview rendering, catch CSS issues, and see how :universal-selector displays across Outlook, Gmail, and Apple Mail. Free, no account needed.

Instant live preview · No signup required · 21 email engines

Last tested upstream: · Last synced by Emailens:

caniemail.com (MIT) records Oct 13, 2019 as the last time :universal-selector was tested in a real client, 6 years before this sync. Syncing copies that result forward, it does not re-test it. Carried in @emailens/engine data v0.12.2.