Skip to main content
Pseudo-Classes & Selectors

:universal-selector

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

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 MobilePartial
Gmail iOSmobileGmail MobilePartial
Outlook 365webmailOutlook WebSupported
Outlook (New)desktopOutlook WebUnsupported
Outlook ClassicdesktopMicrosoft WordUnsupported
Outlook iOSmobileOutlook MobileSupported
Outlook AndroidmobileOutlook MobileSupported
Apple MaildesktopWebKitSupported
Apple Mail iOSmobileWebKitSupported
Yahoo MailwebmailYahooSupported
Samsung MailmobileSamsungSupported
ThunderbirddesktopGeckoSupported
HEY MailwebmailWebKitSupported
SuperhumandesktopBlinkUnknown

Client-by-client behaviour for :universal-selector

Fully supports :universal-selector (10): Gmail, Outlook 365, Outlook iOS, Outlook Android, Apple Mail, Apple Mail iOS, Yahoo Mail, Samsung Mail, Thunderbird, HEY Mail.

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 (2): Outlook (New), Outlook Classic. 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.

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

Test your email across all 15 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.