Gmail's Support of Media Queries Limited by Lo

2019-09-15 15:58发布

问题:

Now that Gmail supports media queries (https://developers.google.com/gmail/design/css) does any know of limitations such as location (i.e., only available for US based email addresses) or if the update is limited to just webmail?

Email on acid did a webinar about the updates and didn't say any of the above limitations existed - but the company I use to build and deploy emails, is saying media query support is not available in Canada.

Thanks,

回答1:

Yes, they are rolling it out based on geo location and product.

As of October 2016, U.S.-based Gmail accounts are starting to see media query support whereas U.K.-based accounts are not. Litmus Previews use UK Gmail accounts, so we won't see the update appear in Litmus regardless of where we're testing from.

Gmail is also rolling out based on Gmail product. Here is a quick breakdown of where the rollout stands now:

More info and updated charts on Litmus



回答2:

Given that there is an explicit list of supported properties and media queries and said list does not mention any such location dependencies, the official answer to your question is that there are no such limitations.

From the reference:

Supported types

  • all
  • screen

Supported queries

  • min-width
  • max-width
  • min-device-width
  • max-device-width
  • orientation
  • min-resolution
  • max-resolution

Supported keywords

  • and
  • only