caniuse.com shows calc()
can be used today in all modern browsers except Opera. But how good is the support for calc()
in email clients?
P
I think the existing answers and comments somewhat do answer the OP's question. There is an excellent blogpost on Medium, that more than ably outlines the support for calc()
on different mail engines. Relevant excerpts:
It works in Apple Mail (on iOS and OS X), Thunderbird, Outlook (iOS and Android apps), Gmail (webmail, iOS and Android apps), AOL (webmail), and the old Outlook.com (still present in Europe).
Outlook.com has one small quirk, though. The webmail will filter every property with a calc() that includes any parenthesis.
calc() isn’t supported in old email clients like Lotus Notes, or the latest Outlook for Windows (using Word’s HTML rendering engine). It also won’t work on Outlook Web App (both Office 365 and the new Outlook.com) and Yahoo (webmail, iOS and Android apps).
Also, in the future it might bode well for you or any poor soul out there tasked with the hideous task of birthing a mail template, to refer CampaignMonitor for what's supported and what's not!