Skip to main content
Pseudo-Classes & Selectors

:adjacent-sibling

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

The adjacent sibling combinator (+) selects an element that immediately follows another at the same level. It is supported in modern Apple Mail and webmail clients when <style> blocks survive, and ignored in Outlook for the usual reason. It is most useful for spacing relationships between adjacent content blocks.

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 :adjacent-sibling

Fully supports :adjacent-sibling (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 :adjacent-sibling in production sends.

Behaviour unverified in: Superhuman.

When to use :adjacent-sibling in email

  • Adding extra top-margin between adjacent paragraphs in long-form content.
  • Styling the first heading after an image differently than other headings.
  • Creating visual rhythm between sequential card-style sections.

Rendering behaviour and edge cases

  • Outlook on Windows ignores adjacent sibling selectors because <style> is stripped.
  • Gmail rewrites class names, which can break adjacent-sibling selectors that rely on class matching.
  • Apple Mail supports the combinator reliably in recent macOS and iOS releases.

Recommended fallback strategy

Replicate the spacing relationships using explicit inline margin or padded cells for Outlook coverage. Treat adjacent-sibling styling as progressive enhancement.

Fixes & Workarounds

Outlook (New)

Unsupported

":adjacent-sibling" is not supported in this email client.

Outlook Classic

Unsupported

":adjacent-sibling" is not supported in this email client.

Gmail Android

Partial

":adjacent-sibling" is not supported in this email client.

Gmail iOS

Partial

":adjacent-sibling" 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.