MailViewr - Free HTML Email Preview Tool
← CSS Support Index

Does CSS background-origin Work in HTML Email?

Specifies the origin position of a background image relative to border, padding, or content box.

Quick Answer

Does background-origin work in HTML email?

The CSS background-origin property is supported in Gmail, Outlook (Mac / Web), Apple Mail, Samsung Email, and others. It is NOT supported in Outlook (Windows), Yahoo! Mail. Always include a safe fallback for unsupported clients.

Which Email Clients Support CSS background-origin?

CSS support for background-origin across email clients

Email ClientDesktopMobile / WebNotes
Gmail✓ Yes~ Partial
Outlook (Windows)✗ No?
Outlook (Mac / Web)✓ Yes✓ Yes
Apple Mail✓ Yes✓ Yes
Yahoo! Mail✗ No✗ No
Samsung Email?✓ Yes
Thunderbird✓ Yes?
ProtonMail✓ Yes✓ Yes
Fastmail✓ Yes?

Notes

  • #1 Background images origin can be used in VML with the `origin` attribute. See [VML documentation](https://docs.microsoft.com/en-us/windows/win32/vml/origin-attribute--fill--vml).

Frequently Asked Questions

Related CSS Properties

Test Your Email Now

Paste your HTML and see how it renders in clients that don't support
background-origin.

Open Email Previewer