Skip to main content
Pseudo-Classes & Selectors

:last-child

selector or pseudo-class · 13 supported, 1 partial, 6 unsupported across 21 clients

13 of 21 email clients render :last-child fully (Apr 27, 2026 data); it breaks outright in Gmail, Gmail Android, Gmail iOS and 3 more.

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

Source: caniemail.com (MIT), via the Emailens engine. Last verified Apr 27, 2026.

Client Support

ClientCategoryEngineSupport
GmailwebmailGmail WebUnsupported
Gmail AndroidmobileGmail MobileUnsupported
Gmail iOSmobileGmail MobileUnsupported
Outlook 365webmailOutlook WebPartial
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

Client-by-client behaviour for :last-child

Fully supports :last-child (13): 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 (1): Outlook 365. Expect rendering quirks unique to each engine. Partial support typically means a subset of values, an ignored shorthand, or sanitizer-specific rewrites.

No support (6): Gmail, Gmail Android, Gmail iOS, Outlook (New), Outlook Classic, Proton Mail. Plan fallbacks for these clients before relying on :last-child in production sends.

Behaviour unverified in: Superhuman.

Fixes & Workarounds

Gmail

Unsupported

":last-child" is not supported in this email client.

Gmail Android

Unsupported

":last-child" is not supported in this email client.

Gmail iOS

Unsupported

":last-child" is not supported in this email client.

Outlook (New)

Unsupported

":last-child" is not supported in this email client.

Outlook Classic

Unsupported

":last-child" is not supported in this email client.

Proton Mail

Unsupported

":last-child" is not supported in this email client.

Outlook 365

Partial

":last-child" is not supported in this email client.

Related Features

Check your own HTML for :last-child

Paste your email HTML, analyzed in this page, no signup, nothing stored.

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.