Gmail (or something) is changing my class names?

后端 未结 3 1048
抹茶落季
抹茶落季 2021-01-19 14:29

Ok, this is weird. I have an HTML email template that I am trying to adjust. In the template, I have a standard

    . But, the client has requested tha
3条回答
  •  终归单人心
    2021-01-19 14:51

    Gmail absolutely changes classnames in your email. If you create a style sheet and send it out, it will change the classnames in the style sheet and in the email body. It will also strip out any styles that it doesn't support, sometimes the entire sheet.

    These are the CSS properties and queries supported by Gmail:

    https://developers.google.com/gmail/design/reference/supported_css

    Good luck.

提交回复
热议问题