Answer the question
In order to leave comments, you need to log in
html letter layout: why media queries don't work in gmail and yandex?
I made letters on the foundation for emails, inlined the styles, assembled the template, but as a result, media queries do not go through gmail and yandex, although the gmail off-blog claims that they support media queries since September.
Can you suggest what could be the problem?
Tested via putsmail (Litmus).
Perhaps I just put something wrong in Litmus, tk. if you look at the code of the letter in the mailbox, everything looks as if the tag with media queries was not added to the template.
I saw similar questions in Google blogs, but did not see the answers.
Based on this list of supported properties, media queries are supported by google:
https://developers.google.com/gmail/design/referen...
but this table then contradicts the doc (see style tag):
https://www.campaignmonitor.com/css/
who to trust?)
Answer the question
In order to leave comments, you need to log in
Before posting, use the search on the toaster, there are a lot of similar questions.
https://habrahabr.ru/post/252279/
https://habrahabr.ru/company/pechkin/blog/255819/
Yandex and Mail do not support media queries because a horse in a bathtub with cucumbers is the point of zhpg.
Gmail and Google Inbox announced support for media queries no more than two months ago. Therefore, if they work, it is most likely very damp.
Make up without them. Keywords: Max-width and inline-block;
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question