Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is box-sizing available to use in email templates

Tags:

css

email

I'm creating email templates and I've found this CSS support guide but box-sizing is not on there. I'm wondering if that CSS property is even supported, and if it is, which email client(s) support it.

like image 897
Rob Scott Avatar asked Apr 03 '15 18:04

Rob Scott


People also ask

Where can I use box sizing?

The box-sizing property allows us to include the padding and border in an element's total width and height. If you set box-sizing: border-box; on an element, padding and border are included in the width and height: Both divs are the same size now!

What can an email template contain?

Email templates can contain content substitutes, such as e-marketing, links, unique codes of special offers, and the name and surname of the client (i.e., user-specific information). When sending messages, the server substitutes the actual content for the replacements.

What is box sizing?

The box-sizing CSS property sets how the total width and height of an element is calculated.


2 Answers

No it's not supported. A simple google search will tell you:

Yahoo mail supports it according to: https://www.campaignmonitor.com/blog/post/3107/css3-support-in-email-clients/

Box sizing support

for many other css properties you can use following tables/resources as a reference: https://www.campaignmonitor.com/css/

(i have no affiliation with campaignmonitor, i just keep above urls for reference)

like image 62
Rahul Avatar answered Sep 20 '22 16:09

Rahul


box-sizing is now supported by Gmail which vastly increases the audience it applies to.

like image 35
Ryan Hamilton Avatar answered Sep 18 '22 16:09

Ryan Hamilton